forked from sch/Rivista
9 lines
240 B
JavaScript
9 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();
|
||
|
}
|
||
|
}
|