bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with Date Command


From: Eric Blake
Subject: Re: Problem with Date Command
Date: Thu, 05 Jun 2008 06:03:10 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080421 Thunderbird/2.0.0.14 Mnenhy/0.7.5.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Dameon G. Rogers on 6/4/2008 10:09 PM:
| Bug-coreutils,
|
|    I would like to report a problem with the *date* command:
|
| date +%C
|
|     does not function properly.  It says it displays the current century

'date --help' (and thus the man page) defines what it is using as "century":

~  %C   century; like %Y, except omit last two digits (e.g., 21)

In other words, it is not the English definition, so much as (year % 100).
~ As the behavior of %C is specified by POSIX, about all we could do is
change the description - any proposed wordings that would make this more
clear to you?

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkhH1f4ACgkQ84KuGfSFAYAp+QCeO/bZzdf3bwtBkeCs64/37YlS
VPwAn0nuPgw0/QwgYja96Q0Hk5/0xjRL
=+wAK
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]