GNU bug report logs - #32931
time-stamp-format: offer numeric time zones too

Previous Next

Package: emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Thu, 4 Oct 2018 11:14:02 UTC

Severity: wishlist

Fixed in version 27.1

Done: Stephen Gildea <stepheng+emacs <at> gildea.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 32931 <at> debbugs.gnu.org
Subject: bug#32931: time-stamp-format: offer numeric time zones too
Date: Thu, 11 Jul 2019 18:01:14 +0200
積丹尼 Dan Jacobson <jidanni <at> jidanni.org> writes:

> time-stamp-format is a variable defined in ‘time-stamp.el’.
>
> Alas must one must hardwire to get '+0800':
> "%:y-%02m-%02d %02H:%02M:%02S +0800"
>
> Because all are provided are:
> %z   time zone name: ‘est’.		%Z  gives uppercase: ‘EST’

From reading the code, it looks like it's just using format-time-string,
so all the specs available there are available here.

I'll just remove all that stuff from the doc string and point users to
that function.

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




This bug report was last modified 5 years and 242 days ago.

Previous Next


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