monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] Monotone displays commit times in UTC, not local ti


From: Zack Weinberg
Subject: Re: [Monotone-devel] Monotone displays commit times in UTC, not local time
Date: Wed, 4 Jun 2008 11:30:01 -0400

On Wed, Jun 4, 2008 at 3:25 AM, Tim Kettler <address@hidden> wrote:
> I just noticed that monotone displays the commit time for changes (printed
> by 'mtn log') in UTC and not my local time. Is this the wanted behaviour? If
> not, does anybody else see this or is it just some misconfiguration on my
> machine?

I wouldn't call it _desirable_, but it is the expected behavior.
Dates are stored as strings in the database, in exactly the format you
see them, in UTC.  When they're printed, we just print them out as
strings.  This is because doing a time zone conversion is fraught with
portability issues, and so it's more trouble than anyone's wanted to
go to.

Feel free to send in patches :)

zw




reply via email to

[Prev in Thread] Current Thread [Next in Thread]