From: Andy Parkins Date: Fri, 26 Jan 2007 09:43:54 GMT Subject: Re: [PATCH 1/2] UNIX reference time of 1970-01-01 00:00 is UTC timezone, not local time zone Message-ID: <200701260943.55735.andyparkins@gmail.com> In-Reply-To: <200701260858.48212.andyparkins@gmail.com> On Friday 2007 January 26 08:58, Andy Parkins wrote: > This of course means that the --date argument to date is specified in > local time, not UTC. So when the hooks--update script does this: > > date=$(date --date="1970-01-01 00:00:00 +0000 $ts seconds") Bugger. This description is wrong. I've shown the fixed version not the original. This line should have read date=$(date --date="1970-01-01 00:00:00 $ts seconds") Sorry - patch was fine, message needs that change to make sense though. Andy -- Dr Andy Parkins, M Eng (hons), MIEE andyparkins@gmail.com