Opened 17 years ago
Closed 16 years ago
#7382 closed enhancement (wontfix)
Detect timezone from browser
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | web frontend | Version: | |
Severity: | minor | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
The browser does not send timezone or any other time information in the http request, but you can get the timezone from javascript - see http://www.willmaster.com/library/javascript/determining-your-visitors-time-zone.php
I suggest to use js to get the timezone, and store it in the user's preferences automatigically. That way a user always sees the right time.
Attachments (0)
Change History (2)
comment:1 by , 17 years ago
comment:2 by , 16 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Setting the timezone is a one-off setting (except if you are travelling a lot), so making it automatic doesn't bring much value. Moreover, the method presented in the link above requires a form submission for the timezone to be transmitted, so it won't update at the first site visit.
Closing as wontfix, but feel free to reopen with a patch implementing the feature (ideally with a checkbox labeled "Update timezone automatically" in the Date / time preference panel).
Sounds like a good plugin candidate to me—not something that ought to be in the core. Just my opinion.