Subject: Re: bug#10182: Century bug in date utility?

From: Eric Blake <[email-masked]>
Date: Thu, 01 Dec 2011 11:53:11 -0700

On 12/01/2011 11:45 AM, Krzysztof Kowalski wrote:
> 
> OK, thank you for answer, but it still isn't logical,

What's not logical, that %C follows POSIX?

> century is century by common sense,
> if there's 21st century right now 21 should be returned.

Maybe the confusion is coming from the fact that 'date --help' mentions
the word "century" as a mnemonic for %C, even though the POSIX wording
for %C specifically avoids "century" because %C is _not_ a century in
the vernacular usage.  Would a patch to the 'date --help' wording
alleviate your concerns?  If so, could you propose better wording for
what 'date --help' should say for %C that is still concise and accurate,
but does not mention a misleading mnemonic?

-- 
Eric Blake   [email-masked]    +1-919-301-3266
Libvirt virtualization library http://libvirt.org