File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
CircuitPython_Day_2024_Projects/Qualia_820x320_IO_Countdown Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 16
16
from adafruit_ticks import ticks_ms , ticks_add , ticks_diff
17
17
18
18
## See TZ Identifier column at https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
19
- ## If you want to set the timezone, you can do so with the following:
20
- timezone = os .getenv ("ADAFRUIT_AIO_TIMEZONE" , "America/New_York" ) # Fetch timezone from settings.toml or default to EST
21
- # timezone = None # Or instead rely on automatic timezone detection based on IP Address
19
+ ## If you want to set the timezone, you can do so with the following code, which
20
+ ## attempts to get timezone from settings.toml or defaults to New York
21
+ timezone = os .getenv ("ADAFRUIT_AIO_TIMEZONE" , "America/New_York" )
22
+ ## Or instead rely on automatic timezone detection based on IP Address
23
+ # timezone = None
22
24
23
25
24
26
## The time of the thing!
You can’t perform that action at this time.
0 commit comments