[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#8930: $date +%C
From: |
James Youngman |
Subject: |
bug#8930: $date +%C |
Date: |
Sat, 25 Jun 2011 21:18:18 +0100 |
2011/6/24 Dimitri Tassiaux <address@hidden>:
> *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.
>