"Mike 'Mike' Jones" <[EMAIL PROTECTED]> writes: > A little bit of trial-and-error and I find that the anomaly is limited to > between 6pm, 23 Jun 1968 GMT and 2am, 31 Oct 1971: > > $ date -d "Sat Oct 31 01:59:59 UTC 1971" +%s > 57722399 > $ date -d "Sat Oct 31 01:59:59 GMT 1971" +%s > 57718799 > > $ date -d "Sat Oct 31 02:00:00 UTC 1971" +%s > 57722400 > $ date -d "Sat Oct 31 02:00:00 GMT 1971" +%s > 57722400 > > and > > $ date -d "Sun Jun 23 18:00:00 UTC 1968" +%s > -48060000 > $ date -d "Sun Jun 23 18:00:00 GMT 1968" +%s > -48063600 > > $ date -d "Sun Jun 23 17:59:59 UTC 1968" +%s > -48060001 > $ date -d "Sun Jun 23 17:59:59 GMT 1968" +%s > -48060001
I can't reproduce that here. I get the same (correct) output whether I use UTC or GMT. > This means that using: > $ date -d "Tue Jan 01 00:00:00 GMT 1970 + NNNNN seconds" Better use date -d "@NNNNNN". Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." _______________________________________________ Bug-coreutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-coreutils
