From: Shawn O. Pearce Date: Wed, 07 Feb 2007 05:53:52 GMT Subject: Re: git-fast-import Message-ID: <20070207055352.GB7138@spearce.org> In-Reply-To: Linus Torvalds wrote: > Btw, one thing that might be a good idea to document very clearly: > > - in the native git format, the offset from UTC has *nothing* to do with > the actual time itself. The time in native git is always in UTC, and > the offset from UTC does not change "time" - it's purely there to tell > in which timezone the event happened. > > So 12345678 +0000 and 12345678 -0700 are *exactly*the*same*date*, > except event one happened in UTC, and the other happened in UTC-7. > > - in rfc2822 format, the offset from UTC actually *changes* the date. The > date "Oct 12, 2006 20:00:00" will be two _different_ times when you say > it is in PST or in UTC. Here is the current language relating to date parsing in gfi: Date Formats ~~~~~~~~~~~~ The following date formats are supported. A frontend should select the format it will use for this import by passing the format name in the `--date-format=` command line option. `raw`:: This is the Git native format and is `