|
From: | GNU bug Tracking System |
Subject: | [Emacs-bug-tracker] bug#8930: closed (date +%C) |
Date: | Fri, 24 Jun 2011 19:53:02 +0000 |
Your message dated Fri, 24 Jun 2011 13:52:02 -0600 with message-id <address@hidden> and subject line Re: date +%C has caused the GNU bug report #8930, regarding date +%C to be marked as done. (If you believe you have received this mail in error, please contact address@hidden) -- 8930: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8930 GNU Bug Tracking System Contact address@hidden with problems
--- Begin Message ---Subject: date +%C Date: Fri, 24 Jun 2011 20:39:41 +0200
~$ date
vendredi 24 juin 2011, 20:32:50 (UTC+0200)
~$ date +%C
20
# 21st Century !
Dimitri Tassiaux
--
Si tu as une pomme, que j'ai une pomme, et que l'on échange nos pommes, nous aurons chacun une pomme. Mais si tu as une idée, que j'ai une idée et que l'on échange nos idées, nous aurons chacun deux idées.
George Bernard Shaw (1856-1950)
--- End Message ---
--- Begin Message ---Subject: Re: date +%C Date: Fri, 24 Jun 2011 13:52:02 -0600 User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.10 tag 8930 notabug thanks > ~$ *date* > vendredi 24 juin 2011, 20:32:50 (UTC+0200) > ~$ *date +%C* > 20 > > > *# 21st Century !* > Thanks for the report. However, this is not a bug. %C does not mean the century in common parlance, rather, according to POSIX, it means: http://pubs.opengroup.org/onlinepubs/9699919799/utilities/date.html > > %C > Century (a year divided by 100 and truncated to an integer) as a decimal > number [00,99]. Yes, the mnemonic is using century for lack of a better term, but it is correctly printing all but the last two digits of the year. -- Eric Blake address@hidden +1-801-349-2682 Libvirt virtualization library http://libvirt.orgsignature.asc
Description: OpenPGP digital signature
--- End Message ---
[Prev in Thread] | Current Thread | [Next in Thread] |