lostcarpark / conclar

ConClár Programme Guide in ReactJS
MIT License
11 stars 12 forks source link

Improvements to timezone handling #97

Closed lostcarpark closed 2 years ago

lostcarpark commented 2 years ago

This issue covers a number of improvements to the way ConClár handles timezones.

lostcarpark commented 2 years ago

I have been working on the "select local timezone" change. Currently I'm using a component called "timezone-select-js", which provides a select control for selecting the timezone. Unfortunately, this control clashes with other components used by the project, so I'm having to use npm install --force to install it. I'm hoping I can either get the issues with this component fixed, or find another component to use to resolve. The local timezone selection part of the change will have to stay in a separate branch until this can be resolved.

Edit: Switched to a different component, "react-timezone-select", which has resolved the above issue.

lostcarpark commented 2 years ago

I have created pull request #98. This contains all of the above changes. I had originally planned to add a config item to allow dates to be specified in UTC. However, this proved unnecessary, as UTC dates can be specified by using YYYY-MM-DDThh:mm:ss+00:00 in the input file. I will leave the pull request open for a few days for review as it's a big change.

lostcarpark commented 2 years ago

All the issues listed here should be covered by PR #98, so I'm closing this issue.