monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] git fast-export


From: Derek Scherger
Subject: Re: [Monotone-devel] git fast-export
Date: Sun, 18 Jan 2009 12:36:04 -0700

On Sat, Jan 17, 2009 at 4:18 PM, Paul Aurich <address@hidden> wrote:


No, his script is handling it properly (based solely on this example).

Monotone uses UTC internally and git does some crazy wacky things with
timezones (in short, the timezone shown is /just/ for prettifying the date;
the timestamp by itself *must* be the time of the commit in UTC). See
https://kerneltrap.org/mailarchive/git/2007/2/6/237902

 $ mtn automate certs d137c7046bae7e4a0144fee82bfce8061f61e3b3 | grep date
-A 1
      name "date"
     value "2000-03-23T03:09:51"

 $ date -d "2000-03-23 03:09:51" -u
 Thu Mar 23 03:09:51 UTC 2000
 $ date -d "2000-03-23 03:09:51" -u  +"%s"
 953780991

Thanks for checking this.

Cheers,
Derek



reply via email to

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