The conversion from dates into seconds are wrong between 2001-04-01 03:00:00 and 2001-10-28 01:59:59. The inverse conversion (from secs into date) appears to work fine when the epoch is 1970-01-01.
Check this out: > date --date='2001-10-28 01:59:59' +%s 1004259599 > date --date='2001-10-28 02:00' +%s 1004263200 The difference are 3601 seconds. Check this other one out: > date --date='2001-04-01 02:00' +%s 986119200 > date --date='2001-04-01 03:00' +%s 986119200 There is no difference, in fact the result: > date --date='2001-04-01 02:59:59' +%s 986122799 Indicates that the problem is in going into 2001-04-01 03:00. Regards, Manuel de la Torre _______________________________________________ Bug-sh-utils mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-sh-utils
