[wp-trac] [WordPress Trac] #18146: Add user-level timezone setting
WordPress Trac
noreply at wordpress.org
Tue Jan 6 17:38:20 UTC 2015
#18146: Add user-level timezone setting
-------------------------------+-----------------------------
Reporter: RanYanivHartstein | Owner:
Type: feature request | Status: reopened
Priority: normal | Milestone: Future Release
Component: Users | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
-------------------------------+-----------------------------
Comment (by johnjamesjacoby):
I've considered this a huge oversight for years, particularly for the bb's
where minutes and seconds often matter. That said, the internet has
changed and WordPress not having these settings polluting `usermeta` works
in our favor now that modern browsers and a bit of JavaScript can guess a
user locale relatively accurately (proxies and VPN's yadda yadda yadda)
I'd like to propose we include in core an extremely lightweight script to
sniff the client timezone and provide the option of adjusting output using
a `time` tag in themes with proper micro-formatting and an optional `data`
attribute to allow said JavaScript to update the tag accordingly.
To take this even further, we could attach `timezone_string` metadata to
each post & comment object based on where the author was located when they
posted it. This way we can calculate both the GMT offset and, quite
politely, the user-to-user offset to propagate a where-in-the-world effect
amongst all WordPress powered sites.
Should a user wish to stay timezone agnostic, we can fallback on server
time & GMT the same as we do currently.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/18146#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list