alarmpi
alarmpi copied to clipboard
Make timezone a configurable setting
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?
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.