Comment

Comment by speg

You just increment the month. March 20 m+1 is April 20.

If the date is invalid, like January 30 m+1 then you fallback to next valid date, February 28/29.

parent speg 2 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton