GNU bug report logs -
#8930
date +%C
Previous Next
Full log
View this message in rfc822 format
2011/6/24 Dimitri Tassiaux <d.tassiaux <at> gmail.com>:
> *Century error !*
This isn't a very intelligible bug report. When reporting a bug in
software please state as precisely as possible:
1. What you did.
2. What you expected to happen.
3. What actually did happen.
In this case I assume you think that %C prints the century, for
example 21. It turns out that it doesn't. From the documentation:
%C century; like %Y, except omit last two digits (e.g., 20)
I agree though that using the word "century" here is misleading.
> date (GNU coreutils) 8.5
> Copyright © 2010 Free Software Foundation, Inc.
> License GPLv3+ : GNU GPL version 3 ou ultérieure
> <http://gnu.org/licenses/gpl.html>
> Ceci est logiciel libre, vous êtes libre de le modifier et de le
> redistribuer.
> Ce logiciel n'est accompagné d'ABSOLUMENT AUCUNE GARANTIE, dans les limites
> autorisees par la loi applicable.
>
> Écrit par David MacKenzie.
>
This bug report was last modified 14 years and 51 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.