alarmpi icon indicating copy to clipboard operation
alarmpi copied to clipboard

Make timezone a configurable setting

Open mattdy opened this issue 9 years ago • 1 comments

There are several instances where Europe/London is hard-coded as the timezone to use in configuring alarms etc. It would be nicer to make this configurable in some manner, most likely through Settings.

However - the implications of putting an invalid timezone in here (ie: one not on this list) could be quite severe, so some kind of validation may be required before falling back to a sensible default?

mattdy avatar Nov 29 '15 11:11 mattdy

Matt, check my code. I did this by allowing the timezone to be picked from a select html form which is populated by Python timezones programmatically.

Sent from my iPhone 6S

On Nov 29, 2015, at 5:25 AM, Matt Dyson [email protected] wrote:

There are several instances where Europe/London is hard-coded as the timezone to use in configuring alarms etc. It would be nicer to make this configurable in some manner, most likely through Settings.

However - the implications of putting an invalid timezone in here (ie: one not on this list) could be quite severe, so some kind of validation may be required before falling back to a sensible default?

— Reply to this email directly or view it on GitHub.

jwr456 avatar Nov 29 '15 12:11 jwr456