You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't see how to set the timezone on raspberry pi operation. For some reason I was passing timezone: "Australia/Melbourne" to the analog_clock function, but now I can't see any documentation on this and it doesn't appear to work either. Instead I get times in UTC, which is the default for nerves I believe.
Regards
The text was updated successfully, but these errors were encountered:
Hi Brian. scenic_clock used to have a dependency on timex, but I removed it at some point in the past as it was 1) big, and 2) unclear if it was the right solution seeing as Elixir has changed its stance toward timezone databases.
What I would recommend is that you use scenic_clock as a template. It is really small, so pretty easy to understand. Tnen just roll your own clock from it that uses timex for timezones or what else you want.
For extra credit, you could find a good timezone database to use with the newish Elixir timezone functions to get that functionality working again. I would totally take that as a PR.
Hello,
I can't see how to set the timezone on raspberry pi operation. For some reason I was passing
timezone: "Australia/Melbourne"
to theanalog_clock
function, but now I can't see any documentation on this and it doesn't appear to work either. Instead I get times in UTC, which is the default for nerves I believe.Regards
The text was updated successfully, but these errors were encountered: