Andras Korn wrote: > date -d "May 23 1954" and date -d 1954-05-23 both fail in all versions of > coreutils 8.x I could try. May 22 and May 24 are OK. Coreutils 7.1 doesn't > barf on May 23 either.
Thank you for the report. However I was unable to reproduce this issue. Could you say a little more about how to recreate the problem? What is your timezone? For example I tried these: $ env TZ=America/Denver date -R -d "1954-05-23" Sun, 23 May 1954 00:00:00 -0700 $ env TZ=America/Chicago date -R -d 'TZ="UTC" 1954-05-23' Sat, 22 May 1954 19:00:00 -0500 However since you specified the time at midnight (by not specifying a time, always specify a time such as 12:00 noon to avoid DST issues) I am confident the issue will be a Daylight Saving Time change in your timezone which skips that time in your timezone. If the time has been skipped in your timezone then that time will be listed as invalid. Specify 12:00 noon or UTC to avoid DST issues. Please see the FAQ entry which has examples of diagnosing and avoiding DST problems: http://www.gnu.org/software/coreutils/faq/#The-date-command-is-not-working-right_002e Bob -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

