I have run this script on my linux router and in cygwin.
In both cases, the date is changed from 2006 to 2005.

<--->
set Time_Stamp="01-Jan-2006 21:22:23"
echo "    $Time_Stamp"

set MyDate=`date --date="$Time_Stamp" "+%G-%m-%d %T %a"`
echo "    $MyDate"
<--->

The problem disappears on January 2.
_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to