odd "last modified" timestamps on hgweb
Mads Kiilerich
mads at kiilerich.com
Fri Oct 14 12:18:25 UTC 2011
On 10/14/2011 01:53 PM, David Demelier wrote:
> On 13/10/2011 23:54, Matt Mackall wrote:
>> On Thu, 2011-10-13 at 23:42 +0200, David Demelier wrote:
>>> Hello folks,
>>>
>>> I switched my repositories to a new server by preserving access time to
>>> the files so the repositories has exactly the same access times :
>>>
>>> drwxr-xr-x 3 www www 512 05 Sep 2011 code
>>> drwxr-xr-x 3 www www 512 14 Jul 2010 dotfiles
>>>
>>> As you can see the code and dofiles have not been modified. But on the
>>> website http://hg.malikania.fr the timestamps are not like "one month
>>> ago" or "one year ago" but they use `absolute' date time.
>>>
>>> I don't know at all why this is happening, I use hgwebdir.cgi with
>>> lighttpd to show the repositories.
>>>
>>> If you have any idea.
>>
>> It's particular to the Monoblue style. Compare:
>>
>> http://hg.malikania.fr/?style=paper
>>
>
> And also http://hg.kaworu.ch/?style=gitweb or
> http://hg.kaworu.ch/?style=monoblue
All of them works just fine here.
Hint for debugging: It is a javascript snippet that rewrites the
absolute dates to "agos". Make sure the right javascript is served and
received and executed by the client.
/Mads
More information about the Mercurial
mailing list