emacs-devel
[Top][All Lists]
Advanced

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

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


From: Paul Eggert
Subject: Re: fromat-time-string: %p vs %P (feels backward:
Date: Mon, 24 Apr 2017 18:31:12 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.0

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]