[Top][All Lists]

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

Re: fromat-time-string: %p vs %P (feels backward:

From: raman
Subject: Re: fromat-time-string: %p vs %P (feels backward:
Date: Mon, 24 Apr 2017 19:58:56 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Paul Eggert <address@hidden> writes:

Interesting. I later realized that the documentation for
format-time-string only specifies the lower case version i.e. %p.
 > On 04/24/2017 05:11 PM, raman wrote:
>> In the argument to format-time-string, %p produces am/pm in upper-case,
>> whereas %P produces lower-case.
> It's awkward, but it's consistent with how glibc strftime works. For
> what it's worth, POSIX specifies %p to output upper-case in the C
> locale, and users likely expect that behavior.


reply via email to

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