Incorrect year in date function.
Jacob Jacobson
news@biyani.org
Mon Jan 4 20:32:00 GMT 2010
Jacob Jacobson wrote:
>
> I am curious as to why this happened.
>
> I was at work yesterday and created a file. The name of the file
> is created using the Cygwin date function.
>
> REV=$(date +rev-%b-%d-%g)
> APPNAME="$1-$REV.img"
>
> When I did a "ls" this morning, I noticed that the year was wrong
> on the file yesterday but is correct today (on a new file created
> today using the same script). I have a windows XP machine and the
> Cygwin version is quite recent.
>
> 2010-01-04 11:55 debug-rev-Jan-04-10.img
> 2010-01-03 12:34 debug-rev-Jan-03-09.img
>
>
Thanks everyone.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list