I'm using a raspberry pi pico w as the heart of a clock. I'm new to micropython (my primary programming language is a soldering iron). I had planned to use ntptime to set the RTC to UTC time then adjust for timezone and DST. I was surprised to see that on power-up time.localtime() returns the correct time already adjusted for timezone and DST. I had expected it to come up with some default value.
If I can find a way to invoke the function that set the clock in the background automatically on power up, I can eliminate the logic required to make the adjustment from UTC to EST (or EDT or whatever I wanted). Is this possible?