Closed Bug 1025168 Opened 10 years ago Closed 3 years ago

Autofill time zone if you've set your geographic location

Categories

(Participation Infrastructure :: Phonebook, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: athulsuresh, Unassigned)

References

Details

(Whiteboard: [Triage 2015-04-17] [iam-RFE])

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153 Safari/537.36 Steps to reproduce: Register / edit the profile Actual results: timezone doesnt have country name. currently its like "asia/cityname" or "africa/cityname" etc Expected results: change the current style to continent/country/region Would be great to see Auto-selection of timezone according to Selected Region/country during profile creation!
Why can't we logically select the timezone using the country and region a user type those respective fields above? Most of mozillians will type their correct location in the city and country fields. We could automatically select the timezone from those fields by predicting right? the ruby project you mentioned uses geonames api which also have user limits. (That's what I see there). I guess its better to have a in-house timezone fetching system for mozilla. Just my opinions!
I agree that autosetting time zone would be handy. Knowing the country and region doesn't tell you what time zone you're in. You need a database to associate those things. We're already calling out to the mapbox API for locations, doing a second API for timezone autosetting is no big deal. I think it should be done in JS, which leaves you the ability to modify the autofill before submission if you wish. No need for any back-end changes here.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Timezone sorting should have country too + autoselection → Autofill time zone if you've set your geographic location
There's an awful lot of data here. https://github.com/panthomakos/timezone/tree/master/data 5.8Mb uncompressed, 913kb compressed (probably because the formatting repeats itself so much!)
Version: 2014-06.6 → other
Whiteboard: [Triage 2015-04-17]

This is an RFE specific to mozillians, which is decom'ed.
If this is found to pertain to people.mozilla.org then please open a new issue.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INVALID
Whiteboard: [Triage 2015-04-17] → [Triage 2015-04-17] [iam-RFE]
You need to log in before you can comment on or make changes to this bug.