[issue2233] hgdate inverted offset

Ton bugs at mercurial.selenic.com
Fri Jun 11 18:37:59 UTC 2010


New submission from Ton <tcplomp at gmail.com>:

I am looking at the raw-rev output of hgwebdir and notice that I have a
negative offset while I'm ahead (eastern) of GMT, so my offset should be
positive.
I have tested this by adjusting my raw/changeset.tmpl:

# Date (hgdate) {date|hgdate}       ;outputs the standard hgdate output
# Date (isodate) {date|isodate}     ;outputs isodate

This returns the following for a raw-rev:

# Date (hgdate) 1276279188 -7200
# Date (isodate) 2010-06-11 19:59 +0200

Notice how hgdate has a negative offset while isodate has a positive offset.

----------
messages: 12810
nosy: tcplomp
priority: bug
status: unread
title: hgdate inverted offset
topic: 1.5.2

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2233>
____________________________________________________


More information about the Mercurial-devel mailing list