>>>>> "Rick" == Rick A Schneider <[EMAIL PROTECTED]> writes:
Rick> Anyone seen this before? Is it fixed somewhere? Is this a
Rick> bug with the date program, or something more worrisome?
>> [ras@sfa ras:23]$ date --date '1 year 7 months 24 days 10 hours 5
>> minutes'
>> Fri Dec 31 23:59:22 EST 1999
>> [ras@sfa ras:24]$ date --date '1 year 7 months 24 days 10 hours 6
>> minutes'
>> Wed Dec 31 00:59:59 EST 1969
I suspect you're using version 1.12 or earlier of GNU sh-utils. This
works OK for me under both Red Hat 5.0 and 4.2:-
rh5.0 $ date --date '1 year 7 months 23 days 6 hours 38 minutes'
Fri Dec 31 23:59:56 GMT 1999
rh5.0 $ date --date '1 year 7 months 23 days 6 hours 38 minutes'
Sat Jan 1 00:00:00 GMT 2000
rh5.0 $ date --date '1 year 7 months 23 days 6 hours 38 minutes'
Sat Jan 1 00:00:03 GMT 2000
rh5.0 $ rpm -q $(rpm -qf /bin/date)
sh-utils-1.16-8
rh4.2 $ date --date '1 year 7 months 23 days 6 hours 38 minutes'
Sat Jan 1 00:02:17 GMT 2000
rh4.2 $ date --date '1 year 7 months 23 days 6 hours 30 minutes'
Fri Dec 31 23:54:23 GMT 1999
rh4.2 $ rpm -q $(rpm -qf /bin/date)
sh-utils-1.16-5
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.