2 // update date stamps to reflect viewers timezone
3 function update_tz(t) {
5 collection = document.getElementsByTagName('span');
6 for (off in collection) {
9 dt = new Date(el.innerHTML).toString();
10 // strip timezone name, it is usually wrong when not initialized
11 // from TZ env, but reverse calculated from os data
12 dt = dt.replace(/\s+\(.+\)/, "");
14 dt = dt.replace(/GMT/, "");
20 window.onload = update_tz;