[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 16:19:21 +0200 |
> From: "Paul W. Rankin" <hello@paulwrankin.com>
> Cc: bug-gnu-emacs@gnu.org, 39248@debbugs.gnu.org
> Date: Thu, 23 Jan 2020 16:44:11 +1000
>
> So, this works:
>
> (setq system-time-locale (getenv "LANG"))
> (format-time-string "%x")
> -> "23/01/2020"
>
> But in the Elisp manual:
>
> -- Variable: system-time-locale
> This variable specifies the locale to use for formatting time
> values. Changing the locale can cause messages to appear according
> to the conventions of a different language. If the variable is
> ‘nil’, the locale is specified by environment variables in the
> usual POSIX fashion.
>
> So the issue appears to be instead that ^this doesn't seem to be
> happening...
No, having system-time-locale as nil is perfectly normal. I asked the
question so we'd know whether that variable is part of the issue. It
doesn't seem to be, AFAIU.
- bug#39248: format-time-string ignores user's preferred locale, Paul W. Rankin, 2020/01/22
- bug#39248: format-time-string ignores user's preferred locale, Eli Zaretskii, 2020/01/23
- bug#39248: format-time-string ignores user's preferred locale, Paul Eggert, 2020/01/23
- bug#39248: format-time-string ignores user's preferred locale, Paul W . Rankin, 2020/01/23
- bug#39248: format-time-string ignores user's preferred locale, Eli Zaretskii, 2020/01/23
- bug#39248: format-time-string ignores user's preferred locale, Glenn Morris, 2020/01/23
- bug#39248: format-time-string ignores user's preferred locale, Paul W. Rankin, 2020/01/23
- bug#39248: format-time-string ignores user's preferred locale, Paul Eggert, 2020/01/24
- bug#39248: format-time-string ignores user's preferred locale, Paul W. Rankin, 2020/01/25
- bug#39248: format-time-string ignores user's preferred locale, Alan Third, 2020/01/25
- bug#39248: format-time-string ignores user's preferred locale, Paul W. Rankin, 2020/01/25
- bug#39248: format-time-string ignores user's preferred locale, Alan Third, 2020/01/25