GNU bug report logs - #48309
Space before AM/PM in display-time-mode

Previous Next

Package: emacs;

Reported by: Arun Isaac <arunisaac <at> systemreboot.net>

Date: Sun, 9 May 2021 08:01:02 UTC

Severity: normal

Tags: notabug

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Arun Isaac <arunisaac <at> systemreboot.net>
To: bug-gnu-emacs <at> gnu.org
Subject: Space before AM/PM in display-time-mode
Date: Sun, 09 May 2021 13:30:14 +0530
[Message part 1 (text/plain, inline)]
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!
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 4 years and 14 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.