Strange time display

Alpár Jüttner alpar at cs.elte.hu
Thu Dec 11 21:23:54 UTC 2008


> > My question is still the same: is it a bug? At first I thought it is
> > obviously a bug, but the answers I get here make me feel I'm very
> > alone with this opinion.
> 
> Next time, use the source first... Luke:

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?
      * The function you referred is called 'read()'. But i'm talking
        about writing not reading.
      * 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.

Best regards,
Alpar


> 
> http://selenic.com/repo/index.cgi/hg-stable/file/ab3fb222b345/mercurial/changelog.py#l137
> 
>     time tz extra\n : date (time is int or float, timezone is int)
>                     : extra is metadatas, encoded and separated by '\0'
>                     : older versions ignore it
> 
> Emphasized: "int OR float"
> 




More information about the Mercurial mailing list