logoalt Hacker News

amaranttoday at 5:38 AM1 replyview on HN

This is awesome! I kinda wanna make one that adapts even more to your location: lengthen and shorten the light part of the circle according to your local sunrise and sunset times! Unfortunately that kinda sorta breaks the neatness of displaying multiple timezones, since it won't line up nicely with different latitudes.


Replies

senkotoday at 7:32 AM

> lengthen and shorten the light part of the circle according to your local sunrise and sunset times!

It's really not obvious, especially in light mode, but if you switch to dark mode you can see the day circle has a "bolder" and a "thinner" part. Bolder is the daylight hours, and its length and position corresponds to the daylight hours (in this instance, of Zagreb, since that's the primary timezone for the clock).

You're correct in that it can't work if you have multiple lattitudes. I took the easy way out - I ignore that and just use the first one :X

show 1 reply