Open dbitouze opened 5 years ago
Thank you for your report!
For whom is willing to work in this:
If we're already shipping with moment.js then we can use https://momentjs.com/timezone/docs/#/using-timezones/guessing-user-timezone/
. If not we could ignore IE11 and use Intl.DateTimeFormat().resolvedOptions().timeZone
. IMHO the added value isn't that high that I would add polyfills for IE11.
Aside remark (from this thread): I'm not sure what made Plone aware of my default language. If it is derived it from the locale of my computer (LANG=fr_FR.UTF-8), it could be nice for it to derive the time zone from LC_TIME. Hence for a computer of a French Canadian user with LANG=fr_CA.UTF-8 and LC_TIME="fr_CA.UTF-8", Plone would select automatically:
BUG/PROBLEM REPORT (OR OTHER COMMON ISSUE)
What I did:
I installed a fresh Plone 5.2 (python3) instance and started to create a new Plone site. Maybe because of the locale
LANG=fr_FR.UTF-8
on my Linux box, the automatically selected language for the Plone site was French.What I expect to happen:
I expected the automatically selected time zone to be Paris.
What actually happened:
The automatically selected time zone was Berlin.
What version of Plone/ Addons I am using: