Building a small web app to last: the future of CountMyDaysOver the last few posts I've written about the unglamorous parts of building CountMyDays: counting days without off-by-one bugs, streak counters that survive midnight and DST, and "tomorrow" vs "in 2 1R3d ago · 6 min readcountmydays.hashnode.dev
"Tomorrow" or "in 2 days"? A timezone-safe 'time until' label with Intl.RelativeTimeFormatEvery countdown UI needs a short, friendly label: in 45 minutes, tomorrow, in 3 weeks, za 5 miesięcy. Modern JavaScript has a built-in for the wording, Intl.RelativeTimeFormat, so you no longer need a3d ago · 6 min readcountmydays.hashnode.dev
Build a 'days since' streak counter in React with localStorage (that survives midnight, DST and bad data)"Days since I last smoked." "Days since the last production incident." "Days without sugar." A streak counter looks like the easiest widget in the world: store a start date and subtract. Then it shows3d ago · 6 min readcountmydays.hashnode.dev
Counting days between two dates in JavaScript without off-by-one bugs"How many days until 24 December?" sounds like a one-liner. In JavaScript it's a small trap with three jaws: time zones, daylight saving time and the way Date parses strings. I ran into all three whil3d ago · 7 min readcountmydays.hashnode.dev
How I built a countdown & days-since tracker with React 19, Supabase and VercelI wanted a place to count down to things – a trip, a birthday, a deadline – and to count up from things, like the day I started a habit. Most countdown sites I tried were full of ads or wanted an acco3d ago · 6 min readcountmydays.hashnode.dev