Rivista/assets/script/iso8601_to_utc.js
Schimon Jehudah, Adv. 766e51af4c Modularize code;
Add packaging instructions;
Add modules to handle Gemini file type (no Gemini server yet);
Improve handling of configuration.
2024-11-12 15:25:05 +02:00

8 lines
240 B
JavaScript

// Convert ISO8601 To UTC
window.onload = function(){
for (element of document.querySelectorAll('#articles > ul > li > div > h4')) {
timestamp = new Date(element.textContent);
element.textContent = timestamp.toUTCString();
}
}