[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] "mtn log" now converts dates to the user's timezon
From: |
Zack Weinberg |
Subject: |
Re: [Monotone-devel] "mtn log" now converts dates to the user's timezone |
Date: |
Fri, 29 May 2009 12:47:31 -0700 |
On Fri, May 29, 2009 at 12:39 PM, Thomas Moschny <address@hidden> wrote:
> Zack Weinberg wrote:
>> At present, the only thing affected is 'log'. My immediate thought is
>> that absolutely we should *not* apply these changes to the automate
>> interface, because that's intended for machine consumption; in
>> particular, you don't want to have to parse whatever arbitrary gunk
>> the user put in their date format spec.
>
> Exactly what I thought. Converting dates to some locale is something a
> presentation layer should do.
I could argue, though, that back-converting from the textual UTC date
format that monotone prints to a system time_t that can be handed to
localtime() is a huge pain, and monotone already *has* that code...
zw