Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Locale functions not respecting System or Docker's locale #219

Open
Snuffy2 opened this issue Sep 5, 2023 · 0 comments
Open

Locale functions not respecting System or Docker's locale #219

Snuffy2 opened this issue Sep 5, 2023 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@Snuffy2
Copy link
Collaborator

Snuffy2 commented Sep 5, 2023

Submitting on behalf of @gregeeh

Running HA in a docker container on an OMV NAS.

e8f6969abb562cafee456e7779e8e8dcfe0dc031
5f46ec0e239607d8eb1a9721ce277357650c51a3

2023-08-30 08:34:05.907 INFO (MainThread) [custom_components.places.sensor] (GregH) [Init] Places sensor: GregH
2023-08-30 08:34:05.907 DEBUG (MainThread) [custom_components.places.sensor] (GregH) [Init] Locale: ('en_US', 'UTF-8')
2023-08-30 08:34:05.907 DEBUG (MainThread) [custom_components.places.sensor] (GregH) [Init] Locale Date Format: %m/%d/%y
root@omv:~# locale
LANG=en_AU.UTF-8
LANGUAGE=en_AU:en
LC_CTYPE="en_AU.UTF-8"
LC_NUMERIC="en_AU.UTF-8"
LC_TIME="en_AU.UTF-8"
LC_COLLATE="en_AU.UTF-8"
LC_MONETARY="en_AU.UTF-8"
LC_MESSAGES="en_AU.UTF-8"
LC_PAPER="en_AU.UTF-8"
LC_NAME="en_AU.UTF-8"
LC_ADDRESS="en_AU.UTF-8"
LC_TELEPHONE="en_AU.UTF-8"
LC_MEASUREMENT="en_AU.UTF-8"
LC_IDENTIFICATION="en_AU.UTF-8"
LC_ALL=
root@omv:~# 
root@omv:~# 
root@omv:~# docker inspect 166931e562 | locale
LANG=en_AU.UTF-8
LANGUAGE=en_AU:en
LC_CTYPE="en_AU.UTF-8"
LC_NUMERIC="en_AU.UTF-8"
LC_TIME="en_AU.UTF-8"
LC_COLLATE="en_AU.UTF-8"
LC_MONETARY="en_AU.UTF-8"
LC_MESSAGES="en_AU.UTF-8"
LC_PAPER="en_AU.UTF-8"
LC_NAME="en_AU.UTF-8"
LC_ADDRESS="en_AU.UTF-8"
LC_TELEPHONE="en_AU.UTF-8"
LC_MEASUREMENT="en_AU.UTF-8"
LC_IDENTIFICATION="en_AU.UTF-8"
LC_ALL=
root@omv:~# 
root@omv:~# 
root@omv:~# docker ps | grep 166931e562
166931e562db   ghcr.io/home-assistant/home-assistant:stable   "/init"                  11 days ago    Up 11 days                                                                                                                                                            homeassistant
root@omv:~#
@Snuffy2 Snuffy2 self-assigned this Sep 5, 2023
@Snuffy2 Snuffy2 added the bug Something isn't working label Sep 5, 2023
@Snuffy2 Snuffy2 added the help wanted Extra attention is needed label Sep 17, 2023
@Snuffy2 Snuffy2 removed their assignment Nov 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant