if (!$) { $ = django.jQuery; } function overrideTimeOptions() { $("ul.timelist").each(function(){ entries = $(this).children("li"); baseEntry = entries.first(); baseHref = baseEntry.find("a").attr("href"); entries.remove(); newEntryHref = baseHref.replace(/Date\([^\)]*\)/g, "Date(1970,1,1,6,0,0,0)"); newEntry = '