Page MenuHomePhabricator

Default to browser timezone in Grant Metrics
Closed, ResolvedPublic1 Estimated Story Points

Description

Currently the timezone dropdown defaults to UTC. Let's make that default to the browser timezone.

This came up through our user interviews.

Event Timeline

Niharika added a project: Community-Tech.
Niharika updated the task description. (Show Details)

Does this apply to all Wikimedia sites, including Wikipedia and Phabricator?

Does this apply to all Wikimedia sites, including Wikipedia and Phabricator?

No. This ticket is for a ToolForge tool, Grant metrics.

Does this apply to all Wikimedia sites, including Wikipedia and Phabricator?

No, this is for Grant-Metrics (see the tags). I shall update the description, for clarity.

MusikAnimal renamed this task from Default to browser timezone to Default to browser timezone in Grant Metrics.Mar 28 2018, 9:46 PM

I should mention this may not always work, either because the user's browser doesn't support Intl.DateTimeFormat.prototype.resolvedOptions(), or the timezone is somehow missing on the client (maybe unspecified in thier system preferences). In JavaScript, it seems there is no 100% sure-fire way to do this.