unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#48309: Space before AM/PM in display-time-mode
@ 2021-05-09  8:00 Arun Isaac
  2021-05-11 12:59 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Arun Isaac @ 2021-05-09  8:00 UTC (permalink / raw)
  To: 48309

[-- Attachment #1: Type: text/plain, Size: 400 bytes --]


Hi,

This is a tiny nitpick. In display-time-mode, when the 12 hour format is
used, the time displays, for example, as "10:20AM". It should display as
"10:20 AM" instead. Notice the added space. Without the space, it looks
bad especially in my native ta_IN locale.

The change needed to the code is just one additional space on line 180
in the variable display-time-format of lisp/time.el.

Thanks!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 524 bytes --]

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

* bug#48309: Space before AM/PM in display-time-mode
  2021-05-09  8:00 bug#48309: Space before AM/PM in display-time-mode Arun Isaac
@ 2021-05-11 12:59 ` Lars Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2021-05-11 12:59 UTC (permalink / raw)
  To: Arun Isaac; +Cc: 48309

Arun Isaac <arunisaac@systemreboot.net> writes:

> This is a tiny nitpick. In display-time-mode, when the 12 hour format is
> used, the time displays, for example, as "10:20AM". It should display as
> "10:20 AM" instead. Notice the added space. Without the space, it looks
> bad especially in my native ta_IN locale.
>
> The change needed to the code is just one additional space on line 180
> in the variable display-time-format of lisp/time.el.

The format is designed to be as compact as possible, since it's shown in
the mode line.  The users are free to change `display-time-format' to
whatever they want, of course, if they want a different format.

So I'm closing this bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





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

end of thread, other threads:[~2021-05-11 12:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-09  8:00 bug#48309: Space before AM/PM in display-time-mode Arun Isaac
2021-05-11 12:59 ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).