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
--- a/mercurial/templates/coal/map Thu Oct 27 18:15:34 2011 -0500
+++ b/mercurial/templates/coal/map Thu Oct 27 11:57:08 2011 -0700
@@ -199,7 +199,7 @@
<td><a href="{url}{sessionvars%urlparameter}">{name|escape}</a></td>
<td>{description}</td>
<td>{contact|obfuscate}</td>
- <td class="age">{lastchange|date}</td>
+ <td class="age">{lastchange|rfc822date}</td>
<td class="indexlinks">{archives%indexarchiveentry}</td>
</tr>\n'
indexarchiveentry = '<a href="{url}archive/{node|short}{extension|urlescape}"> ↓{type|escape}</a>'
--- a/mercurial/templates/gitweb/changelogentry.tmpl Thu Oct 27 18:15:34 2011 -0500
+++ b/mercurial/templates/gitweb/changelogentry.tmpl Thu Oct 27 11:57:08 2011 -0700
@@ -1,5 +1,5 @@
<div>
-<a class="title" href="{url}rev/{node|short}{sessionvars%urlparameter}"><span class="age">{date|date}</span>{desc|strip|firstline|escape|nonempty}<span class="logtags"> {inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}{bookmarks%bookmarktag}</span></a>
+<a class="title" href="{url}rev/{node|short}{sessionvars%urlparameter}"><span class="age">{date|rfc822date}</span>{desc|strip|firstline|escape|nonempty}<span class="logtags"> {inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}{bookmarks%bookmarktag}</span></a>
</div>
<div class="title_text">
<div class="log_link">
--- a/mercurial/templates/gitweb/changeset.tmpl Thu Oct 27 18:15:34 2011 -0500
+++ b/mercurial/templates/gitweb/changeset.tmpl Thu Oct 27 11:57:08 2011 -0700
@@ -32,7 +32,7 @@
<div class="title_text">
<table cellspacing="0">
<tr><td>author</td><td>{author|obfuscate}</td></tr>
-<tr><td></td><td class="date age">{date|date}</td></tr>
+<tr><td></td><td class="date age">{date|rfc822date}</td></tr>
{branch%changesetbranch}
<tr><td>changeset {rev}</td><td style="font-family:monospace">{node|short}</td></tr>
{parent%changesetparent}
--- a/mercurial/templates/gitweb/fileannotate.tmpl Thu Oct 27 18:15:34 2011 -0500
+++ b/mercurial/templates/gitweb/fileannotate.tmpl Thu Oct 27 11:57:08 2011 -0700
@@ -40,7 +40,7 @@
<td>{author|obfuscate}</td></tr>
<tr>
<td></td>
- <td class="date age">{date|date}</td></tr>
+ <td class="date age">{date|rfc822date}</td></tr>
{branch%filerevbranch}
<tr>
<td>changeset {rev}</td>
--- a/mercurial/templates/gitweb/filerevision.tmpl Thu Oct 27 18:15:34 2011 -0500
+++ b/mercurial/templates/gitweb/filerevision.tmpl Thu Oct 27 11:57:08 2011 -0700
@@ -40,7 +40,7 @@
<td>{author|obfuscate}</td></tr>
<tr>
<td></td>
- <td class="date age">{date|date}</td></tr>
+ <td class="date age">{date|rfc822date}</td></tr>
{branch%filerevbranch}
<tr>
<td>changeset {rev}</td>
--- a/mercurial/templates/gitweb/map Thu Oct 27 18:15:34 2011 -0500
+++ b/mercurial/templates/gitweb/map Thu Oct 27 11:57:08 2011 -0700
@@ -162,7 +162,7 @@
tags = tags.tmpl
tagentry = '
<tr class="parity{parity}">
- <td class="age"><i class="age">{date|date}</i></td>
+ <td class="age"><i class="age">{date|rfc822date}</i></td>
<td><a class="list" href="{url}rev/{node|short}{sessionvars%urlparameter}"><b>{tag|escape}</b></a></td>
<td class="link">
<a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a> |
@@ -173,7 +173,7 @@
bookmarks = bookmarks.tmpl
bookmarkentry = '
<tr class="parity{parity}">
- <td class="age"><i class="age">{date|date}</i></td>
+ <td class="age"><i class="age">{date|rfc822date}</i></td>
<td><a class="list" href="{url}rev/{node|short}{sessionvars%urlparameter}"><b>{bookmark|escape}</b></a></td>
<td class="link">
<a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a> |
@@ -184,7 +184,7 @@
branches = branches.tmpl
branchentry = '
<tr class="parity{parity}">
- <td class="age"><i class="age">{date|date}</i></td>
+ <td class="age"><i class="age">{date|rfc822date}</i></td>
<td><a class="list" href="{url}shortlog/{node|short}{sessionvars%urlparameter}"><b>{node|short}</b></a></td>
<td class="{status}">{branch|escape}</td>
<td class="link">
@@ -228,7 +228,7 @@
bookmarktag = '<span class="bookmarktag" title="{name}">{name}</span> '
shortlogentry = '
<tr class="parity{parity}">
- <td class="age"><i class="age">{date|date}</i></td>
+ <td class="age"><i class="age">{date|rfc822date}</i></td>
<td><i>{author|person}</i></td>
<td>
<a class="list" href="{url}rev/{node|short}{sessionvars%urlparameter}">
@@ -243,7 +243,7 @@
</tr>'
filelogentry = '
<tr class="parity{parity}">
- <td class="age"><i class="age">{date|date}</i></td>
+ <td class="age"><i class="age">{date|rfc822date}</i></td>
<td>
<a class="list" href="{url}rev/{node|short}{sessionvars%urlparameter}">
<b>{desc|strip|firstline|escape|nonempty}</b>
@@ -262,7 +262,7 @@
</td>
<td>{description}</td>
<td>{contact|obfuscate}</td>
- <td class="age">{lastchange|date}</td>
+ <td class="age">{lastchange|rfc822date}</td>
<td class="indexlinks">{archives%indexarchiveentry}</td>
<td><div class="rss_logo"><a href="{url}rss-log">RSS</a> <a href="{url}atom-log">Atom</a></div></td>
</tr>\n'
--- a/mercurial/templates/monoblue/changelogentry.tmpl Thu Oct 27 18:15:34 2011 -0500
+++ b/mercurial/templates/monoblue/changelogentry.tmpl Thu Oct 27 11:57:08 2011 -0700
@@ -1,6 +1,6 @@
<h3 class="changelog"><a class="title" href="{url}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape|nonempty}<span class="logtags"> {inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}{bookmarks%bookmarktag}</span></a></h3>
<ul class="changelog-entry">
- <li class="age">{date|date}</li>
+ <li class="age">{date|rfc822date}</li>
<li>by <span class="name">{author|obfuscate}</span> <span class="revdate">[{date|rfc822date}] rev {rev}</span></li>
<li class="description">{desc|strip|escape|addbreaks|nonempty}</li>
</ul>
--- a/mercurial/templates/monoblue/changeset.tmpl Thu Oct 27 18:15:34 2011 -0500
+++ b/mercurial/templates/monoblue/changeset.tmpl Thu Oct 27 11:57:08 2011 -0700
@@ -38,13 +38,13 @@
<h2 class="no-link no-border">changeset</h2>
<h3 class="changeset"><a href="{url}raw-rev/{node|short}">{desc|strip|escape|firstline|nonempty} <span class="logtags">{inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}{bookmarks%bookmarktag}</span></a></h3>
- <p class="changeset-age age">{date|date}</p>
+ <p class="changeset-age age">{date|rfc822date}</p>
<dl class="overview">
<dt>author</dt>
<dd>{author|obfuscate}</dd>
<dt>date</dt>
- <dd>{date|date}</dd>
+ <dd>{date|rfc822date}</dd>
{branch%changesetbranch}
<dt>changeset {rev}</dt>
<dd>{node|short}</dd>
--- a/mercurial/templates/monoblue/fileannotate.tmpl Thu Oct 27 18:15:34 2011 -0500
+++ b/mercurial/templates/monoblue/fileannotate.tmpl Thu Oct 27 11:57:08 2011 -0700
@@ -40,13 +40,13 @@
<h2 class="no-link no-border">{file|escape}@{node|short} (annotated)</h2>
<h3 class="changeset">{file|escape}</h3>
- <p class="changeset-age age">{date|date}</p>
+ <p class="changeset-age age">{date|rfc822date}</p>
<dl class="overview">
<dt>author</dt>
<dd>{author|obfuscate}</dd>
<dt>date</dt>
- <dd>{date|date}</dd>
+ <dd>{date|rfc822date}</dd>
{branch%filerevbranch}
<dt>changeset {rev}</dt>
<dd><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></dd>
--- a/mercurial/templates/monoblue/filerevision.tmpl Thu Oct 27 18:15:34 2011 -0500
+++ b/mercurial/templates/monoblue/filerevision.tmpl Thu Oct 27 11:57:08 2011 -0700
@@ -40,13 +40,13 @@
<h2 class="no-link no-border">{file|escape}@{node|short}</h2>
<h3 class="changeset">{file|escape}</h3>
- <p class="changeset-age age">{date|date}</p>
+ <p class="changeset-age age">{date|rfc822date}</p>
<dl class="overview">
<dt>author</dt>
<dd>{author|obfuscate}</dd>
<dt>date</dt>
- <dd>{date|date}</dd>
+ <dd>{date|rfc822date}</dd>
{branch%filerevbranch}
<dt>changeset {rev}</dt>
<dd><a class="list" href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></dd>
--- a/mercurial/templates/monoblue/map Thu Oct 27 18:15:34 2011 -0500
+++ b/mercurial/templates/monoblue/map Thu Oct 27 11:57:08 2011 -0700
@@ -141,7 +141,7 @@
tags = tags.tmpl
tagentry = '
<tr class="parity{parity}">
- <td class="nowrap age">{date|date}</td>
+ <td class="nowrap age">{date|rfc822date}</td>
<td><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{tag|escape}</a></td>
<td class="nowrap">
<a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a> |
@@ -152,7 +152,7 @@
bookmarks = bookmarks.tmpl
bookmarkentry = '
<tr class="parity{parity}">
- <td class="nowrap date">{date|date}</td>
+ <td class="nowrap date">{date|rfc822date}</td>
<td><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{bookmark|escape}</a></td>
<td class="nowrap">
<a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a> |
@@ -163,7 +163,7 @@
branches = branches.tmpl
branchentry = '
<tr class="parity{parity}">
- <td class="nowrap age">{date|date}</td>
+ <td class="nowrap age">{date|rfc822date}</td>
<td><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">{node|short}</a></td>
<td class="{status}">{branch|escape}</td>
<td class="nowrap">
@@ -196,7 +196,7 @@
bookmarktag = '<span class="bookmarktag" title="{name}">{name}</span> '
shortlogentry = '
<tr class="parity{parity}">
- <td class="nowrap age">{date|date}</td>
+ <td class="nowrap age">{date|rfc822date}</td>
<td>{author|person}</td>
<td>
<a href="{url}rev/{node|short}{sessionvars%urlparameter}">
@@ -211,7 +211,7 @@
</tr>'
filelogentry = '
<tr class="parity{parity}">
- <td class="nowrap age">{date|date}</td>
+ <td class="nowrap age">{date|rfc822date}</td>
<td><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape|nonempty}</a></td>
<td class="nowrap">
<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a> | <a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a> | <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a>
@@ -224,7 +224,7 @@
<td><a href="{url}{sessionvars%urlparameter}">{name|escape}</a></td>
<td>{description}</td>
<td>{contact|obfuscate}</td>
- <td class="age">{lastchange|date}</td>
+ <td class="age">{lastchange|rfc822date}</td>
<td class="indexlinks">{archives%indexarchiveentry}</td>
<td>
<div class="rss_logo">
--- a/mercurial/templates/paper/changeset.tmpl Thu Oct 27 18:15:34 2011 -0500
+++ b/mercurial/templates/paper/changeset.tmpl Thu Oct 27 11:57:08 2011 -0700
@@ -49,7 +49,7 @@
</tr>
<tr>
<th class="date">date</th>
- <td class="date age">{date|date}</td></tr>
+ <td class="date age">{date|rfc822date}</td></tr>
<tr>
<th class="author">parents</th>
<td class="author">{parent%changesetparent}</td>
--- a/mercurial/templates/paper/fileannotate.tmpl Thu Oct 27 18:15:34 2011 -0500
+++ b/mercurial/templates/paper/fileannotate.tmpl Thu Oct 27 11:57:08 2011 -0700
@@ -54,7 +54,7 @@
</tr>
<tr>
<th class="date">date</th>
- <td class="date age">{date|date}</td>
+ <td class="date age">{date|rfc822date}</td>
</tr>
<tr>
<th class="author">parents</th>
--- a/mercurial/templates/paper/filediff.tmpl Thu Oct 27 18:15:34 2011 -0500
+++ b/mercurial/templates/paper/filediff.tmpl Thu Oct 27 11:57:08 2011 -0700
@@ -53,7 +53,7 @@
</tr>
<tr>
<th>date</th>
- <td class="date age">{date|date}</td>
+ <td class="date age">{date|rfc822date}</td>
</tr>
<tr>
<th>parents</th>
--- a/mercurial/templates/paper/filelogentry.tmpl Thu Oct 27 18:15:34 2011 -0500
+++ b/mercurial/templates/paper/filelogentry.tmpl Thu Oct 27 11:57:08 2011 -0700
@@ -1,5 +1,5 @@
<tr class="parity{parity}">
- <td class="age">{date|date}</td>
+ <td class="age">{date|rfc822date}</td>
<td class="author">{author|person}</td>
<td class="description"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape|nonempty}</a>{inbranch%changelogbranchname}{branches%changelogbranchhead}{tags%changelogtag}{rename%filelogrename}</td>
</tr>
--- a/mercurial/templates/paper/filerevision.tmpl Thu Oct 27 18:15:34 2011 -0500
+++ b/mercurial/templates/paper/filerevision.tmpl Thu Oct 27 11:57:08 2011 -0700
@@ -52,7 +52,7 @@
</tr>
<tr>
<th class="date">date</th>
- <td class="date age">{date|date}</td>
+ <td class="date age">{date|rfc822date}</td>
</tr>
<tr>
<th class="author">parents</th>
--- a/mercurial/templates/paper/map Thu Oct 27 18:15:34 2011 -0500
+++ b/mercurial/templates/paper/map Thu Oct 27 11:57:08 2011 -0700
@@ -198,7 +198,7 @@
<td><a href="{url}{sessionvars%urlparameter}">{name|escape}</a></td>
<td>{description}</td>
<td>{contact|obfuscate}</td>
- <td class="age">{lastchange|date}</td>
+ <td class="age">{lastchange|rfc822date}</td>
<td class="indexlinks">{archives%indexarchiveentry}</td>
</tr>\n'
indexarchiveentry = '<a href="{url}archive/{node|short}{extension|urlescape}"> ↓{type|escape}</a>'
--- a/mercurial/templates/paper/shortlogentry.tmpl Thu Oct 27 18:15:34 2011 -0500
+++ b/mercurial/templates/paper/shortlogentry.tmpl Thu Oct 27 11:57:08 2011 -0700
@@ -1,5 +1,5 @@
<tr class="parity{parity}">
- <td class="age">{date|date}</td>
+ <td class="age">{date|rfc822date}</td>
<td class="author">{author|person}</td>
<td class="description"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape|nonempty}</a>{inbranch%changelogbranchname}{branches%changelogbranchhead}{tags % '<span class="tag">{name|escape}</span> '}{bookmarks % '<span class="tag">{name|escape}</span> '}</td>
</tr>
--- a/mercurial/templates/spartan/changelogentry.tmpl Thu Oct 27 18:15:34 2011 -0500
+++ b/mercurial/templates/spartan/changelogentry.tmpl Thu Oct 27 11:57:08 2011 -0700
@@ -1,6 +1,6 @@
<table class="logEntry parity{parity}">
<tr>
- <th><span class="age">{date|date}</span>:</th>
+ <th><span class="age">{date|rfc822date}</span>:</th>
<th class="firstline">{desc|strip|firstline|escape|nonempty}</th>
</tr>
<tr>
@@ -16,7 +16,7 @@
</tr>
<tr>
<th class="date">date:</th>
- <td class="date">{date|date}</td>
+ <td class="date">{date|rfc822date}</td>
</tr>
<tr>
<th class="files"><a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a>:</th>
--- a/mercurial/templates/spartan/changeset.tmpl Thu Oct 27 18:15:34 2011 -0500
+++ b/mercurial/templates/spartan/changeset.tmpl Thu Oct 27 11:57:08 2011 -0700
@@ -31,7 +31,7 @@
</tr>
<tr>
<th class="date">date:</th>
- <td class="date age">{date|date}</td>
+ <td class="date age">{date|rfc822date}</td>
</tr>
<tr>
<th class="files">files:</th>
--- a/mercurial/templates/spartan/fileannotate.tmpl Thu Oct 27 18:15:34 2011 -0500
+++ b/mercurial/templates/spartan/fileannotate.tmpl Thu Oct 27 11:57:08 2011 -0700
@@ -30,7 +30,7 @@
<td>{author|obfuscate}</td></tr>
<tr>
<td class="metatag">date:</td>
- <td class="date age">{date|date}</td>
+ <td class="date age">{date|rfc822date}</td>
</tr>
<tr>
<td class="metatag">permissions:</td>
--- a/mercurial/templates/spartan/filelogentry.tmpl Thu Oct 27 18:15:34 2011 -0500
+++ b/mercurial/templates/spartan/filelogentry.tmpl Thu Oct 27 11:57:08 2011 -0700
@@ -1,6 +1,6 @@
<table class="logEntry parity{parity}">
<tr>
- <th><span class="age">{date|date}</span>:</th>
+ <th><span class="age">{date|rfc822date}</span>:</th>
<th class="firstline"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape|nonempty}</a></th>
</tr>
<tr>
@@ -18,7 +18,7 @@
</tr>
<tr>
<th class="date">date:</th>
- <td class="date">{date|date}</td>
+ <td class="date">{date|rfc822date}</td>
</tr>
</table>
--- a/mercurial/templates/spartan/filerevision.tmpl Thu Oct 27 18:15:34 2011 -0500
+++ b/mercurial/templates/spartan/filerevision.tmpl Thu Oct 27 11:57:08 2011 -0700
@@ -30,7 +30,7 @@
<td>{author|obfuscate}</td></tr>
<tr>
<td class="metatag">date:</td>
- <td class="date age">{date|date}</td></tr>
+ <td class="date age">{date|rfc822date}</td></tr>
<tr>
<td class="metatag">permissions:</td>
<td>{permissions|permissions}</td></tr>
--- a/mercurial/templates/spartan/map Thu Oct 27 18:15:34 2011 -0500
+++ b/mercurial/templates/spartan/map Thu Oct 27 11:57:08 2011 -0700
@@ -168,7 +168,7 @@
<td><a href="{url}{sessionvars%urlparameter}">{name|escape}</a></td>
<td>{description}</td>
<td>{contact|obfuscate}</td>
- <td class="age">{lastchange|date}</td>
+ <td class="age">{lastchange|rfc822date}</td>
<td class="indexlinks">
<a href="{url}rss-log">RSS</a>
<a href="{url}atom-log">Atom</a>
--- a/mercurial/templates/spartan/shortlogentry.tmpl Thu Oct 27 18:15:34 2011 -0500
+++ b/mercurial/templates/spartan/shortlogentry.tmpl Thu Oct 27 11:57:08 2011 -0700
@@ -1,6 +1,6 @@
<table class="slogEntry parity{parity}">
<tr>
- <td class="age">{date|date}</td>
+ <td class="age">{date|rfc822date}</td>
<td class="author">{author|person}</td>
<td class="node"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape|nonempty}</a></td>
</tr>
--- a/tests/test-hgweb-commands.t Thu Oct 27 18:15:34 2011 -0500
+++ b/tests/test-hgweb-commands.t Thu Oct 27 11:57:08 2011 -0700
@@ -246,17 +246,17 @@
<th class="description">description</th>
</tr>
<tr class="parity0">
- <td class="age">Thu Jan 01 00:00:00 1970 +0000</td>
+ <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
<td class="author">test</td>
<td class="description"><a href="/rev/1d22e65f027e">branch</a><span class="branchhead">stable</span> <span class="tag">tip</span> <span class="tag">something</span> </td>
</tr>
<tr class="parity1">
- <td class="age">Thu Jan 01 00:00:00 1970 +0000</td>
+ <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
<td class="author">test</td>
<td class="description"><a href="/rev/a4f92ed23982">Added tag 1.0 for changeset 2ef0ac749a14</a><span class="branchhead">default</span> </td>
</tr>
<tr class="parity0">
- <td class="age">Thu Jan 01 00:00:00 1970 +0000</td>
+ <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
<td class="author">test</td>
<td class="description"><a href="/rev/2ef0ac749a14">base</a><span class="tag">1.0</span> <span class="tag">anotherthing</span> </td>
</tr>
@@ -339,7 +339,7 @@
</tr>
<tr>
<th class="date">date</th>
- <td class="date age">Thu Jan 01 00:00:00 1970 +0000</td></tr>
+ <td class="date age">Thu, 01 Jan 1970 00:00:00 +0000</td></tr>
<tr>
<th class="author">parents</th>
<td class="author"></td>
@@ -476,7 +476,7 @@
<th class="description">description</th>
</tr>
<tr class="parity0">
- <td class="age">Thu Jan 01 00:00:00 1970 +0000</td>
+ <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
<td class="author">test</td>
<td class="description"><a href="/rev/2ef0ac749a14">base</a><span class="tag">1.0</span> <span class="tag">anotherthing</span> </td>
</tr>
@@ -586,7 +586,7 @@
</tr>
<tr>
<th class="date">date</th>
- <td class="date age">Thu Jan 01 00:00:00 1970 +0000</td>
+ <td class="date age">Thu, 01 Jan 1970 00:00:00 +0000</td>
</tr>
<tr>
<th class="author">parents</th>
@@ -701,7 +701,7 @@
<table cellspacing="0">
<tr class="parity0">
- <td class="age"><i class="age">Thu Jan 01 00:00:00 1970 +0000</i></td>
+ <td class="age"><i class="age">Thu, 01 Jan 1970 00:00:00 +0000</i></td>
<td><i>test</i></td>
<td>
<a class="list" href="/rev/1d22e65f027e?style=gitweb">
@@ -715,7 +715,7 @@
</td>
</tr>
<tr class="parity1">
- <td class="age"><i class="age">Thu Jan 01 00:00:00 1970 +0000</i></td>
+ <td class="age"><i class="age">Thu, 01 Jan 1970 00:00:00 +0000</i></td>
<td><i>test</i></td>
<td>
<a class="list" href="/rev/a4f92ed23982?style=gitweb">
@@ -729,7 +729,7 @@
</td>
</tr>
<tr class="parity0">
- <td class="age"><i class="age">Thu Jan 01 00:00:00 1970 +0000</i></td>
+ <td class="age"><i class="age">Thu, 01 Jan 1970 00:00:00 +0000</i></td>
<td><i>test</i></td>
<td>
<a class="list" href="/rev/2ef0ac749a14?style=gitweb">
@@ -749,7 +749,7 @@
<table cellspacing="0">
<tr class="parity0">
- <td class="age"><i class="age">Thu Jan 01 00:00:00 1970 +0000</i></td>
+ <td class="age"><i class="age">Thu, 01 Jan 1970 00:00:00 +0000</i></td>
<td><a class="list" href="/rev/2ef0ac749a14?style=gitweb"><b>1.0</b></a></td>
<td class="link">
<a href="/rev/2ef0ac749a14?style=gitweb">changeset</a> |
@@ -764,7 +764,7 @@
<table cellspacing="0">
<tr class="parity0">
- <td class="age"><i class="age">Thu Jan 01 00:00:00 1970 +0000</i></td>
+ <td class="age"><i class="age">Thu, 01 Jan 1970 00:00:00 +0000</i></td>
<td><a class="list" href="/rev/2ef0ac749a14?style=gitweb"><b>anotherthing</b></a></td>
<td class="link">
<a href="/rev/2ef0ac749a14?style=gitweb">changeset</a> |
@@ -773,7 +773,7 @@
</td>
</tr>
<tr class="parity1">
- <td class="age"><i class="age">Thu Jan 01 00:00:00 1970 +0000</i></td>
+ <td class="age"><i class="age">Thu, 01 Jan 1970 00:00:00 +0000</i></td>
<td><a class="list" href="/rev/1d22e65f027e?style=gitweb"><b>something</b></a></td>
<td class="link">
<a href="/rev/1d22e65f027e?style=gitweb">changeset</a> |
@@ -788,7 +788,7 @@
<table cellspacing="0">
<tr class="parity0">
- <td class="age"><i class="age">Thu Jan 01 00:00:00 1970 +0000</i></td>
+ <td class="age"><i class="age">Thu, 01 Jan 1970 00:00:00 +0000</i></td>
<td><a class="list" href="/shortlog/1d22e65f027e?style=gitweb"><b>1d22e65f027e</b></a></td>
<td class="">stable</td>
<td class="link">
@@ -798,7 +798,7 @@
</td>
</tr>
<tr class="parity1">
- <td class="age"><i class="age">Thu Jan 01 00:00:00 1970 +0000</i></td>
+ <td class="age"><i class="age">Thu, 01 Jan 1970 00:00:00 +0000</i></td>
<td><a class="list" href="/shortlog/a4f92ed23982?style=gitweb"><b>a4f92ed23982</b></a></td>
<td class="">default</td>
<td class="link">
--- a/tests/test-hgweb-diffs.t Thu Oct 27 18:15:34 2011 -0500
+++ b/tests/test-hgweb-diffs.t Thu Oct 27 11:57:08 2011 -0700
@@ -81,7 +81,7 @@
</tr>
<tr>
<th class="date">date</th>
- <td class="date age">Thu Jan 01 00:00:00 1970 +0000</td></tr>
+ <td class="date age">Thu, 01 Jan 1970 00:00:00 +0000</td></tr>
<tr>
<th class="author">parents</th>
<td class="author"></td>
@@ -240,7 +240,7 @@
</tr>
<tr>
<th>date</th>
- <td class="date age">Thu Jan 01 00:00:00 1970 +0000</td>
+ <td class="date age">Thu, 01 Jan 1970 00:00:00 +0000</td>
</tr>
<tr>
<th>parents</th>
@@ -341,7 +341,7 @@
</tr>
<tr>
<th class="date">date</th>
- <td class="date age">Thu Jan 01 00:00:00 1970 +0000</td></tr>
+ <td class="date age">Thu, 01 Jan 1970 00:00:00 +0000</td></tr>
<tr>
<th class="author">parents</th>
<td class="author"></td>
@@ -504,7 +504,7 @@
</tr>
<tr>
<th>date</th>
- <td class="date age">Thu Jan 01 00:00:00 1970 +0000</td>
+ <td class="date age">Thu, 01 Jan 1970 00:00:00 +0000</td>
</tr>
<tr>
<th>parents</th>
--- a/tests/test-hgweb-filelog.t Thu Oct 27 18:15:34 2011 -0500
+++ b/tests/test-hgweb-filelog.t Thu Oct 27 11:57:08 2011 -0700
@@ -179,12 +179,12 @@
<th class="description">description</th>
</tr>
<tr class="parity0">
- <td class="age">Thu Jan 01 00:00:00 1970 +0000</td>
+ <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
<td class="author">test</td>
<td class="description"><a href="/rev/01de2d66a28d">second a</a></td>
</tr>
<tr class="parity1">
- <td class="age">Thu Jan 01 00:00:00 1970 +0000</td>
+ <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
<td class="author">test</td>
<td class="description"><a href="/rev/5ed941583260">first a</a></td>
</tr>
@@ -280,12 +280,12 @@
<th class="description">description</th>
</tr>
<tr class="parity0">
- <td class="age">Thu Jan 01 00:00:00 1970 +0000</td>
+ <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
<td class="author">test</td>
<td class="description"><a href="/rev/01de2d66a28d">second a</a></td>
</tr>
<tr class="parity1">
- <td class="age">Thu Jan 01 00:00:00 1970 +0000</td>
+ <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
<td class="author">test</td>
<td class="description"><a href="/rev/5ed941583260">first a</a></td>
</tr>
@@ -381,7 +381,7 @@
<th class="description">description</th>
</tr>
<tr class="parity0">
- <td class="age">Thu Jan 01 00:00:00 1970 +0000</td>
+ <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
<td class="author">test</td>
<td class="description"><a href="/rev/5ed941583260">first a</a></td>
</tr>
@@ -477,7 +477,7 @@
<th class="description">description</th>
</tr>
<tr class="parity0">
- <td class="age">Thu Jan 01 00:00:00 1970 +0000</td>
+ <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
<td class="author">test</td>
<td class="description"><a href="/rev/5ed941583260">first a</a></td>
</tr>
@@ -604,7 +604,7 @@
<table class="logEntry parity0">
<tr>
- <th><span class="age">Thu Jan 01 00:00:00 1970 +0000</span>:</th>
+ <th><span class="age">Thu, 01 Jan 1970 00:00:00 +0000</span>:</th>
<th class="firstline"><a href="/rev/b7682196df1c?style=spartan">change c</a></th>
</tr>
<tr>
@@ -622,14 +622,14 @@
</tr>
<tr>
<th class="date">date:</th>
- <td class="date">Thu Jan 01 00:00:00 1970 +0000</td>
+ <td class="date">Thu, 01 Jan 1970 00:00:00 +0000</td>
</tr>
</table>
<table class="logEntry parity1">
<tr>
- <th><span class="age">Thu Jan 01 00:00:00 1970 +0000</span>:</th>
+ <th><span class="age">Thu, 01 Jan 1970 00:00:00 +0000</span>:</th>
<th class="firstline"><a href="/rev/1a6696706df2?style=spartan">mv b</a></th>
</tr>
<tr>
@@ -655,7 +655,7 @@
</tr>
<tr>
<th class="date">date:</th>
- <td class="date">Thu Jan 01 00:00:00 1970 +0000</td>
+ <td class="date">Thu, 01 Jan 1970 00:00:00 +0000</td>
</tr>
</table>
--- a/tests/test-hgweb-removed.t Thu Oct 27 18:15:34 2011 -0500
+++ b/tests/test-hgweb-removed.t Thu Oct 27 11:57:08 2011 -0700
@@ -76,7 +76,7 @@
</tr>
<tr>
<th class="date">date</th>
- <td class="date age">Thu Jan 01 00:00:00 1970 +0000</td></tr>
+ <td class="date age">Thu, 01 Jan 1970 00:00:00 +0000</td></tr>
<tr>
<th class="author">parents</th>
<td class="author"><a href="/rev/cb9a9f314b8b">cb9a9f314b8b</a> </td>
@@ -198,7 +198,7 @@
</tr>
<tr>
<th>date</th>
- <td class="date age">Thu Jan 01 00:00:00 1970 +0000</td>
+ <td class="date age">Thu, 01 Jan 1970 00:00:00 +0000</td>
</tr>
<tr>
<th>parents</th>
--- a/tests/test-highlight.t Thu Oct 27 18:15:34 2011 -0500
+++ b/tests/test-highlight.t Thu Oct 27 11:57:08 2011 -0700
@@ -121,7 +121,7 @@
</tr>
<tr>
<th class="date">date</th>
- <td class="date age">Thu Jan 01 00:00:00 1970 +0000</td>
+ <td class="date age">Thu, 01 Jan 1970 00:00:00 +0000</td>
</tr>
<tr>
<th class="author">parents</th>
@@ -251,7 +251,7 @@
</tr>
<tr>
<th class="date">date</th>
- <td class="date age">Thu Jan 01 00:00:00 1970 +0000</td>
+ <td class="date age">Thu, 01 Jan 1970 00:00:00 +0000</td>
</tr>
<tr>
<th class="author">parents</th>