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

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

bug#39248: format-time-string ignores user's preferred locale


From: Eli Zaretskii
Subject: bug#39248: format-time-string ignores user's preferred locale
Date: Thu, 23 Jan 2020 07:56:29 +0200
User-agent: K-9 Mail for Android

On January 23, 2020 5:48:16 AM GMT+02:00, "Paul W. Rankin" 
<hello@paulwrankin.com> wrote:
> Calling function (format-time-string "%x") will output incorrect time
> string, ignoring user's preferred locale.
> 
> * Steps to reproduce:
> 
> 1. ensure locale is correct with M-x getenv RET LANG RET
>     -> en_AU.UTF-8
> 2. M-: (format-time-string "%x") RET
>     -> "01/23/20"
> 3. repeat for env LC_TIME
> 
> * Expected results:
> 
> The format for %x as per the docs:
>     %x is the locale’s "preferred" date format.


What is your value of system-time-locale?






reply via email to

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