decaporg/decap-cms

Timezone support for datetime fields

marisademeglio opened this issue · 1 comments

Is your feature request related to a problem? Please describe.

I'm using this CMS as a backend for a small website built via SSG so the owner can maintain it themselves. There is an "events" collection and it's important that they can specify the timezone for an event.

Describe the solution you'd like

A timezone field for the datetime picker.

Describe alternatives you've considered

I could create a select with a few timezones in it and then recalculate datetime value relative to that.

Additional context

Giving the author the option to select the timezone is good. Additionally, removing that UI requirement with useful defaults would be nice. Use the client's timezone or allow the configuration to specify the timezone.