• 0 Posts
  • 26 Comments
Joined 1 year ago
cake
Cake day: July 4th, 2023

help-circle











  • I spent way too long today figuring out why my app was doing something that it’s NOT supposed to do on weekends.

    I read Luxon’s docs (pretty cool lib tbh) again and again, and tried everything I could think of to get isWeekend to return a sane result.

    Turns out I was pulling a somewhat older version of Luxon, where isWeekend didn’t exist. In any sane language, I expect I’d get a huge warning about a property that doesn’t exist, but alas…

    Typescript helps me keep my sanity, but juuuuust barely.