Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <3E126DF2.1030802@doe.carleton.ca> Date: Tue, 31 Dec 2002 23:26:26 -0500 From: Shing-Fat Fred Ma User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.0.1) Gecko/20020920 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Shing-Fat Fred Ma CC: cygwin AT cygwin DOT com Subject: SOLVED: gnu tar opens tgz's with file times in the future References: <3E126CF2 DOT 6040001 AT doe DOT carleton DOT ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Shing-Fat Fred Ma wrote: > Hello, > > I'm gnu-tarring files with tar version 1.13.25 > on solaris, then untarring with the same version > on cygwin. The files are dated 2002-12-31 18:09:xx > in the tgz on solaris. When I sftp them to cygwin, > the tar programs shows the files to be dated > 2003-01-01 03:09.xx. But typing "date" at the > cygwin prompt shows the computer clock to be right > i.e. Tue Dec. 31 2002. It was the time zone not set right on the PC. Didn't know gnu tar was made to compensate for time zones...... Fred -- Fred Ma, fma AT doe DOT carleton DOT ca Carleton University, Dept. of Electronics 1125 Colonel By Drive, Ottawa, Ontario Canada, K1S 5B6 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/