Re: Don't people test edge cases any more? [Time Libraries: The Next Problem]
It generally does, in that if you use a library that has existed and worked correctly in many countries for a lot of years, they probably considered time zones and leap days. It's usually not too hard to find something to help with time. Most programming language standard libraries and operating systems have that handled. Unless you have something they can't handle, the chances are that you will not benefit by either writing your own or trying to find someone else's library for the task.
If you're going to do so, perform the following basic tests:
1. Look through their documentation. If they mention oddities of time zones that they handle, they probably work. If they sound like students putting out something on GitHub, maybe not.
2. Check leap year information. Run this code or language equivalent foreach (int i in [2000, 2100, 2200, 2300, 2400]) print(is_leap_year(i))
If you get true, false, false, false, true, good sign. If you don't, don't use it.
3. Check what they did the last time some country decided to mess with daylight saving time for no reason. For example, you could see whether and how quickly they updated the time rules that Greenland changed in 2023. If they're using the typical sources of information, this could be automatic.