News for hackers. Stuff that matters.
Re:Ask HN: Did you encounter any leap year bugs today? by pizza234 on Thursday February 29, 2024 @06:43PM (#39556732)
Yes, an amusing one: the Android app for the Berlin public transport, on the 29th, listed the results with the date of the previous day (28th).

The funny thing is that the list is prefaced by a banner saying that this is a known bug, and the results actually refer to the 29th.

Interesting way to workaround a bug :)

Re:Ask HN: Did you encounter any leap year bugs today? by rahimnathwani on Thursday February 29, 2024 @07:23PM (#39557034)
The app was probably designed to be able to show an emergency banner if ever needed. Easier to change that message than fix a complicated API.
Re:Ask HN: Did you encounter any leap year bugs today? by mj1586 on Thursday February 29, 2024 @07:28PM (#39557066)
Re:Ask HN: Did you encounter any leap year bugs today? by pizza234 on Friday March 01, 2024 @01:26AM (#39559125)
Yes :)