all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* fromat-time-string: %p vs %P (feels backward:
@ 2017-04-25  0:11 raman
  2017-04-25  1:31 ` Paul Eggert
  0 siblings, 1 reply; 3+ messages in thread
From: raman @ 2017-04-25  0:11 UTC (permalink / raw)
  To: emacs-devel

See the following when evaluated in the *scratch* buffer on Emacs 26
built from head.

In the argument to format-time-string, %p produces am/pm in upper-case,
whereas %P produces lower-case.

(format-time-string  "%p")
"PM"
(format-time-string  "%P")
"pm"
-- 



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-04-25  2:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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

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.