bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#49748: 27.2; format-time-string returns 30 minutes for the value zer


From: Andreas Schwab
Subject: bug#49748: 27.2; format-time-string returns 30 minutes for the value zero
Date: Tue, 27 Jul 2021 18:42:25 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)

On Jul 27 2021, Hosein wrote:

> Hi, I expected (format-time-string "%M:%S" 0)) to return "00:00" but
> since I live in a GMT+3:30 time zone it returns "30:00".

You already provide the reason.  If you want to operate in the UTC
timezone, say so.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."





reply via email to

[Prev in Thread] Current Thread [Next in Thread]