Subject: bug#21229: 24.5; parse-time-string ignore PM/AM

From: Tino Calancha <[email-masked]>
Date: Tue, 11 Aug 2015 02:35:52 +0900 (JST)

|#> 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 <[email-masked]>
>>
>> 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")
>