Subject: Agenda for IETF 81 not available

From: Marc Petit-Huguenin <[email-masked]>
Date: Fri, 24 Jun 2011 08:08:11 -0700

According to the IETF web site, the preliminary agenda for IETF 81 should have
been published yesterday, but is still not available.

Something similar happened for the previous IETF meeting, so I wrote a
Greasemonkey script that fixes the dates in the IETF web site so they match reality:

// ==UserScript==
// @name           fix-ietf
// @namespace      http://shalmaneser.org/fix-ietf
// @description    Align IETF meeting important dates with reality
// @include        http://www.ietf.org/meeting/cutoff-dates-*
// ==/UserScript==
var days = ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday",
"Saturday" ];
var e = document.getElementsByTagName('strong');
for (var i = e.length -1; i >= 0; i--) {
	if (e[i].nextSibling !== null &&
e[i].nextSibling.nodeValue.indexOf('Preliminary agenda') !== -1) {
		var d = new Date(e[i].childNodes[0].nodeValue.slice(0, 10));
		d.setTime(d.getTime() + 5 * 86400000);
		e[i].childNodes[0].nodeValue = d.getFullYear() + "-" + (d.getMonth() < 9 ? "0"
: "") + (d.getMonth() + 1) + "-" + d.getDate() + " (" + days[d.getDay()] + "):";
	}
}

- -- 
Marc Petit-Huguenin
Personal email: [email-masked]
Professional email: [email-masked]
Blog: http://blog.marc.petit-huguenin.org