From Dev.to
Two months before 30 April is not 2 March: booking-window date maths in vanilla JS
Some places in Japan only take bookings inside a rolling window. Saihoji, the Moss Temple in Kyoto, is one: online booking opens "2 months before your visit" and closes at 23:59 Japan time the day bef...
