Show HN: Live-updating version of the 'What a week, huh?' meme
813 points ·
dlazaro
·
There's a page for every timeframe:
- 'What a day': https://tintin.dlazaro.ca/day
- 'What a week': https://tintin.dlazaro.ca/week
- 'What a month': https://tintin.dlazaro.ca/month
- 'What a year': https://tintin.dlazaro.ca/year
Current time is determined by a Cloudflare Worker using the request IP (not logged or stored). No JavaScript is sent to the browser.
isoprophlex ·4 days ago
If you're not done playing with it, you can make it dynamic so it's always accurate, haha! Show the smallest "uncompleted" unit of time available with a fallback for December 31st evenings where tintin simply says nothing...
At night: select the week.
Also end of the week: select the month.
Also end of the month: select the year.
Also end of the year: fallback.
Show replies
FearNotDaniel ·4 days ago
I was scratching my head for a while wondering why you need an IP address to determine the current time… I’m inferring this means geo-locating the IP to determine the client’s time zone and then using that to convert server time to the user’s local time, right?
Makes me think, it would be nice if there was a standard request header to specify preferred TZ for 'local time', just like Accept-Language (which sadly quite a few websites ignore and show me German-language content anyway just because my location is in a German-speaking country).
Still, great work OP :-) now can anyone tell me why Tintin is trending at the moment? Did I miss something? All my feeds seem to be suddenly full of Tintin content right now.
Show replies
Svip ·4 days ago
[0] https://i.kym-cdn.com/photos/images/original/002/125/139/0ff...
Show replies
cprecioso ·4 days ago
[1]: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/me...
Show replies
latedog ·4 days ago
Show replies