Re: [PATCH 1/2] UNIX reference time of 1970-01-01 00:00 is UTC timezone, not local time zone

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

 



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@xxxxxxxxx
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]