sapling/mercurial/templates/monoblue
Brodie Rao aabbd72d18 hgweb: fix dynamic date calculation not working under Safari
While Chrome, Firefox, and IE 6+ support the current date format being
passed to Date(), Safari doesn't:

> new Date('Mon Oct 24 13:58:01 2011 +0200')
  Invalid Date

However, the rfc822date format--officially supported by
ECMAScript[1]--does work:

> new Date('Mon, 24 Oct 2011 13:58:01 +0200')
  Mon Oct 24 2011 04:58:01 GMT-0700 (PDT)

This change replaces all instances of {date|date} in HTML with
{date|rfc822date}. For elements that only have the "age" class,
there's no outward change for users with JavaScript enabled. For
elements with both the "age" and "date" classes, the full date
displayed uses the new format.

Tested in IE 6, Safari 5.1.1, Google Chrome 15, and Firefox 7.0.1.

[1]: https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Date/parse
2011-10-27 11:57:08 -07:00
..
bookmarks.tmpl hgweb: add separate bookmarks listing to monoblue theme (based on 77ea38e46cc8) 2011-04-03 22:53:20 +09:00
branches.tmpl hgweb: add separate bookmarks listing to monoblue theme (based on 77ea38e46cc8) 2011-04-03 22:53:20 +09:00
changelog.tmpl hgweb: add separate bookmarks listing to monoblue theme (based on 77ea38e46cc8) 2011-04-03 22:53:20 +09:00
changelogentry.tmpl hgweb: fix dynamic date calculation not working under Safari 2011-10-27 11:57:08 -07:00
changeset.tmpl hgweb: fix dynamic date calculation not working under Safari 2011-10-27 11:57:08 -07:00
error.tmpl hgweb: add separate bookmarks listing to monoblue theme (based on 77ea38e46cc8) 2011-04-03 22:53:20 +09:00
fileannotate.tmpl hgweb: fix dynamic date calculation not working under Safari 2011-10-27 11:57:08 -07:00
filediff.tmpl hgweb: add separate bookmarks listing to monoblue theme (based on 77ea38e46cc8) 2011-04-03 22:53:20 +09:00
filelog.tmpl hgweb: add separate bookmarks listing to monoblue theme (based on 77ea38e46cc8) 2011-04-03 22:53:20 +09:00
filerevision.tmpl hgweb: fix dynamic date calculation not working under Safari 2011-10-27 11:57:08 -07:00
footer.tmpl hgweb: add a "web/logoimg" setting to customize the web logo image 2011-07-21 15:10:16 +02:00
graph.tmpl web: Made elapsed time calculation dynamic (javascript). 2011-04-28 17:02:39 +02:00
header.tmpl web: Made elapsed time calculation dynamic (javascript). 2011-04-28 17:02:39 +02:00
help.tmpl hgweb: add separate bookmarks listing to monoblue theme (based on 77ea38e46cc8) 2011-04-03 22:53:20 +09:00
helptopics.tmpl hgweb: add separate bookmarks listing to monoblue theme (based on 77ea38e46cc8) 2011-04-03 22:53:20 +09:00
index.tmpl hgweb: add a "web/logoimg" setting to customize the web logo image 2011-07-21 15:10:16 +02:00
manifest.tmpl hgweb: add separate bookmarks listing to monoblue theme (based on 77ea38e46cc8) 2011-04-03 22:53:20 +09:00
map hgweb: fix dynamic date calculation not working under Safari 2011-10-27 11:57:08 -07:00
notfound.tmpl hgweb: add separate bookmarks listing to monoblue theme (based on 77ea38e46cc8) 2011-04-03 22:53:20 +09:00
search.tmpl hgweb: add separate bookmarks listing to monoblue theme (based on 77ea38e46cc8) 2011-04-03 22:53:20 +09:00
shortlog.tmpl hgweb: add separate bookmarks listing to monoblue theme (based on 77ea38e46cc8) 2011-04-03 22:53:20 +09:00
summary.tmpl hgweb: add bookmarks listing to summary page of gitweb/monoblue styles 2011-04-10 10:01:42 +09:00
tags.tmpl hgweb: add separate bookmarks listing to monoblue theme (based on 77ea38e46cc8) 2011-04-03 22:53:20 +09:00