Consider this: q% date -d monday Sun Oct 28 23:00:00 EST 2001
Notice anything wrong? It is giving the date for Sunday, not Monday. Actually, precisely 1 hour earlier than what it should be. Now, on Sunday we are switching from daylight savings time to standard time. This is not taken into account correctly by date. Here's the complete sequence. sh-utils-2.0. q% date Thu Oct 25 20:41:46 EDT 2001 q% date -d thursday Thu Oct 25 00:00:00 EDT 2001 q% date -d friday Fri Oct 26 00:00:00 EDT 2001 q% date -d saturday Sat Oct 27 00:00:00 EDT 2001 q% date -d sunday Sun Oct 28 00:00:00 EDT 2001 q% date -d monday Sun Oct 28 23:00:00 EST 2001 q% date -d tuesday Mon Oct 29 23:00:00 EST 2001 q% date -d wednesday Tue Oct 30 23:00:00 EST 2001 -- Peter _______________________________________________ Bug-sh-utils mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-sh-utils
