all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: raman <raman@google.com>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: emacs-devel@gnu.org
Subject: Re: fromat-time-string: %p vs %P (feels backward:
Date: Mon, 24 Apr 2017 19:58:56 -0700	[thread overview]
Message-ID: <p91a875qjkf.fsf@raman-glaptop2> (raw)
In-Reply-To: <35497558-d629-1c09-ed5b-b0eb00f59e34@cs.ucla.edu> (Paul Eggert's message of "Mon, 24 Apr 2017 18:31:12 -0700")

Paul Eggert <eggert@cs.ucla.edu> 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	other threads:[~2017-04-25  2:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-25  0:11 fromat-time-string: %p vs %P (feels backward: raman
2017-04-25  1:31 ` Paul Eggert
2017-04-25  2:58   ` raman [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=p91a875qjkf.fsf@raman-glaptop2 \
    --to=raman@google.com \
    --cc=eggert@cs.ucla.edu \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.