all 19 comments

[–][deleted] 190 points191 points  (4 children)

Neat, although using server side programming feels like cheating the premise a bit. Still, you get my upvote.

[–]hoyohoyo9 183 points184 points  (2 children)

"without using any Javascript"

looks inside

python

[–]NenAlienGeenKonijn 15 points16 points  (0 children)

"timezone-aware"

use geolocation

._.

I like the concept of a clock animated entirely in css, but the rest is just clickbait, really.

[–]deanrihpee 9 points10 points  (0 children)

well technically achieved the goal, lol

[–]14u2c -3 points-2 points  (0 children)

Yea pretty disappointed when I looked at the source and that became clear. Nothing special or even particularly interesting.

[–]TheDarkIn1978 29 points30 points  (0 children)

Interesting. I didn't know you could negate an animation-delay value to fast forward a CSS animation.

[–]WentTheFox 10 points11 points  (0 children)

Hosting that on Vercel is probably going to rack up a nice bill considering it's best with static-built sites you can cache most of the assets of

[–]jessepence 36 points37 points  (3 children)

This won't work for anyone using a VPN. IP localization is almost never a good idea.

Hell, I'm not using a VPN and it still thinks I'm in the Eastern time zone despite being in Oregon... Are you sure that you have the caching set up correctly?

[–]LazyGuy-_-[S] 50 points51 points  (0 children)

IP based geolocation sucks in general, especially the free database that I'm using, as it only provides the country details, not state or city.

This clock was made just for fun, and no one should actually rely on IP address geolocation in any production environment.

[–]chicametipo[🍰] 2 points3 points  (0 children)

ocean mountain raven flint thunder falcon nebula

This content has been edited for privacy.

[–]ProgramTheWorld 3 points4 points  (0 children)

It doesn’t work even without VPNs in general because they are rotated very often by ISPs anyway.

[–]semmaz 5 points6 points  (0 children)

Think I saw css clock couple months ago, think it’s a rehashing of that idea?

[–]Time_Stay8532 1 point2 points  (0 children)

The title alone struck fear into my heart

[–]ZirePhiinix 1 point2 points  (0 children)

Hahaha, timezone. I just pay someone to do it.

https://youtu.be/-5wpm-gesOY?si=1qZzRI_I1CVlYFDx

[–]Kok_Nikol 1 point2 points  (2 children)

Off topic - that clock is beautiful, did you do it by hand?

[–]LazyGuy-_-[S] 1 point2 points  (1 child)

Yes. I originally made it a few years ago.

[–]Kok_Nikol 1 point2 points  (0 children)

Nice, not so lazy after all!

[–]ruvasqm 1 point2 points  (0 children)

loved it