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 #8 received at 48309 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Arun Isaac <arunisaac <at> systemreboot.net>
Cc: 48309 <at> debbugs.gnu.org
Subject: Re: bug#48309: Space before AM/PM in display-time-mode
Date: Tue, 11 May 2021 14:59:26 +0200
Arun Isaac <arunisaac <at> 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




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.