[EMAIL PROTECTED] wrote:
> Dear sirs,
> 
>       I am writing to you due to an error encountered in command date in RHEL.
> I have a lot of boxes running RHEL with several versions an date goes wrong o 
> well depending on the system's version.
> 
>  Two examples:
> 
> ---------------Case one:  wrong result
> Linux lgux11.lg.ehu.es 2.6.9-34.0.1.ELsmp  #1 SMP Wed May 17 17:05:24 EDT 
> 2006 i686 i686 i386 GNU/Linux
> --------------Case two:  good result
> Linux vcux40.vc.ehu.es 2.6.9-42.0.10.ELsmp #1 SMP Fri Feb 16 17:17:21 EST 
> 2007 i686 i686 i386 GNU/Linux

The system date is the cause rather than the system version.
Specifically the difference between EDT and EST.
Add the -u option to date to abstract yourself from this issue.

Pádraig.


_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to