From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Shawn O. Pearce" Subject: Re: git-fast-import Date: Wed, 7 Feb 2007 00:53:52 -0500 Message-ID: <20070207055352.GB7138@spearce.org> References: <20070206023111.GB9222@spearce.org> <200702060928.54440.andyparkins@gmail.com> <20070206164441.GA4949@spearce.org> <200702070117.l171HGxr023213@laptop13.inf.utfsm.cl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "Horst H. von Brand" , Andy Parkins , git@vger.kernel.org To: Linus Torvalds X-From: git-owner@vger.kernel.org Wed Feb 07 06:54:16 2007 Return-path: Envelope-to: gcvg-git@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1HEfl2-000234-FJ for gcvg-git@gmane.org; Wed, 07 Feb 2007 06:54:16 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965522AbXBGFyF (ORCPT ); Wed, 7 Feb 2007 00:54:05 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S965500AbXBGFyF (ORCPT ); Wed, 7 Feb 2007 00:54:05 -0500 Received: from corvette.plexpod.net ([64.38.20.226]:42766 "EHLO corvette.plexpod.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965522AbXBGFyE (ORCPT ); Wed, 7 Feb 2007 00:54:04 -0500 Received: from cpe-74-70-48-173.nycap.res.rr.com ([74.70.48.173] helo=asimov.home.spearce.org) by corvette.plexpod.net with esmtpa (Exim 4.63) (envelope-from ) id 1HEfki-0004ri-Va; Wed, 07 Feb 2007 00:53:57 -0500 Received: by asimov.home.spearce.org (Postfix, from userid 1000) id 9C5E820FBAE; Wed, 7 Feb 2007 00:53:52 -0500 (EST) Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.11 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - corvette.plexpod.net X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - spearce.org X-Source: X-Source-Args: X-Source-Dir: Sender: git-owner@vger.kernel.org Precedence: bulk X-Mailing-List: git@vger.kernel.org Archived-At: 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 `