News for hackers. Stuff that matters.
Re:Ask HN: Did you encounter any leap year bugs today? by zeroCalories on Thursday February 29, 2024 @06:37PM (#39556681)
Remember, always use a library for cryptography, payments, and date calculations.
Re:Ask HN: Did you encounter any leap year bugs today? by interbased on Thursday February 29, 2024 @10:18PM (#39558184)
Yup. I use the datetime module in Python and didn’t need to do anything extra.
Re:Ask HN: Did you encounter any leap year bugs today? by lobsterthief on Friday March 01, 2024 @01:41PM (#39565170)
For JavaScript, it’s `date-fns` for me
Re:Ask HN: Did you encounter any leap year bugs today? by iknowbettah on Friday March 01, 2024 @11:44AM (#39563559)
wrong! always roll your own crypto!
Re:Ask HN: Did you encounter any leap year bugs today? by rfl890 on Saturday March 02, 2024 @11:22AM (#39573550)
Get a load of this guy.