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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 48309 in the body.
You can then email your comments to 48309 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#48309; Package emacs. (Sun, 09 May 2021 08:01:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Arun Isaac <arunisaac <at> systemreboot.net>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 09 May 2021 08:01:02 GMT) Full text and rfc822 format available.

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)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#48309; Package emacs. (Tue, 11 May 2021 13:00:03 GMT) Full text and rfc822 format available.

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




Added tag(s) notabug. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Tue, 11 May 2021 13:00:03 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 48309 <at> debbugs.gnu.org and Arun Isaac <arunisaac <at> systemreboot.net> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Tue, 11 May 2021 13:00:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 09 Jun 2021 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 316 days ago.

Previous Next


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