[Top][All Lists]
[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
- [Monotone-devel] Monotone displays commit times in UTC, not local time, Tim Kettler, 2008/06/04
- Re: [Monotone-devel] Monotone displays commit times in UTC, not local time,
Zack Weinberg <=
- Re: [Monotone-devel] Monotone displays commit times in UTC, not local time, Matthew Nicholson, 2008/06/05
- Re: [Monotone-devel] Monotone displays commit times in UTC, not local time, Nuno Lucas, 2008/06/05
- Re: [Monotone-devel] Monotone displays commit times in UTC, not local time, Zack Weinberg, 2008/06/05
- Re: [Monotone-devel] Monotone displays commit times in UTC, not local time, Thomas Moschny, 2008/06/05
- Re: [Monotone-devel] Monotone displays commit times in UTC, not local time, Derek Scherger, 2008/06/07
- Re: [Monotone-devel] Monotone displays commit times in UTC, not local time, Zack Weinberg, 2008/06/05
- Re: [Monotone-devel] Monotone displays commit times in UTC, not local time, Matthew A. Nicholson, 2008/06/05
- Re: [Monotone-devel] Monotone displays commit times in UTC, not local time, Zack Weinberg, 2008/06/05