date (GNU sh-utils) 2.0 gives incorrect result.
date (GNU sh-utils) 1.16 and perl are ok.

Please advise how should I fix date (GNU sh-utils) 2.0.
Thanks.

(1)
[julie:/opt/home/mwang/Perl]/usr/local/bin/date --version                           
date (GNU sh-utils) 2.0
Written by David MacKenzie.

Copyright (C) 1999 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[julie:/opt/home/mwang/Perl]/usr/local/bin/date -d '1970-01-01 00:00:1028233379 GMT'
Thu Aug  1 17:22:59 EDT 2002

(2)
[oracle@BCCS1:oracle] /usr/local/bin/date --version
date (GNU sh-utils) 1.16

[oracle@BCCS1:oracle] /usr/local/bin/date -d '1970-01-01 00:00:1028233379 GMT'
Thu Aug  1 16:22:59 EDT 2002

(3)
[julie:/opt/home/mwang/Perl]perl -e 'print scalar(localtime(1028233379))."\n"';     
Thu Aug  1 16:22:59 2002

-- 
Michael Wang
http://www.unixlabplus.com/


_______________________________________________
Bug-sh-utils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-sh-utils

Reply via email to