Strange time display

Isaac Jurado diptongo at gmail.com
Thu Dec 11 22:40:28 UTC 2008


On Thu, Dec 11, 2008 at 10:23 PM, Alpár Jüttner <alpar at cs.elte.hu> wrote:
>
> I feel myself even more confused and even more stupid.
>
>      * It is a user list, isn't it? Are the people here expected to
>        read the source?

Well, your question was about Mercurial internals, right?  I think it
is pretty clear you should normally filter the {date} variable in
custom templates.

>      * The function you referred is called 'read()'. But i'm talking
>        about writing not reading.

The hints are in the method documentation.  If the comments state that
the date can be an int or a float, it seems quite obvious that a
floating number as a date is NOT a bug.

>      * Do you want to say with that, that "1228751240.00" is a correct
>        string representation of the internal time (i.e. the time _plus_
>        the timezone)? My question was about this.

AFAIK, both characters are separated by a null character (in that
string representation).

-- 
Isaac Jurado
http://www.krenel.net

"The noblest pleasure is the joy of understanding"
Leonardo da Vinci




More information about the Mercurial mailing list