Closed Santobert closed 5 years ago
The locale en_US.UTF-8 is not available in some environments (e.g. some docker containers).
This PR takes the time from datetime.utcnow(), which is independent of the operating system and its locales. Please correct me, if I'm wrong.
I've tested this on a german setting. Please test this in other environments.
Fixes https://github.com/home-assistant/home-assistant/issues/25773
This could fix #45 as well.
I'll open a new pr with the right fix asap
The locale en_US.UTF-8 is not available in some environments (e.g. some docker containers).
This PR takes the time from datetime.utcnow(), which is independent of the operating system and its locales. Please correct me, if I'm wrong.
I've tested this on a german setting. Please test this in other environments.
Fixes https://github.com/home-assistant/home-assistant/issues/25773