GNU bug report logs -
#21229
24.5; parse-time-string ignore PM/AM
Previous Next
Reported by: Tino Calancha <f92capac <at> gmail.com>
Date: Mon, 10 Aug 2015 15:35:02 UTC
Severity: minor
Tags: notabug
Found in version 24.5
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
|#> emacs -Q
(parse-time-string "Mon 10 Aug 2015 03:11:35 PM JST")
(35 11 3 10 8 2015 1 nil nil)
(parse-time-string "Mon 10 Aug 2015 03:11:35 AM JST")
(35 11 3 10 8 2015 1 nil nil)
On Mon, 10 Aug 2015, Eli Zaretskii wrote:
>> Date: Mon, 10 Aug 2015 17:19:37 +0900 (JST)
>> From: Tino Calancha <f92capac <at> gmail.com>
>>
>> In the *scratch* buffer i evaluated following expressions:
>>
>> (format-time-string "%c" (current-time))
>> "Mon 10 Aug 2015 03:11:35 PM JST"
>>
>> (apply 'encode-time(parse-time-string "Mon 10 Aug 2015 03:11:35 PM JST"))
>> (21959 38871)
>> (apply 'encode-time(parse-time-string "Mon 10 Aug 2015 03:11:35 AM JST"))
>> (21959 38871)
>
> What do the following expressions produce?
>
> (parse-time-string "Mon 10 Aug 2015 03:11:35 PM JST")
> (parse-time-string "Mon 10 Aug 2015 03:11:35 AM JST")
>
This bug report was last modified 4 years and 276 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.