Could be made more exact by querying a leap second database and choosing the correct maximum in {58,59,60}. This current solution might match some invalid dates but it won't lead to false negatives. This only works if we know the full date, however
Could be made more exact by querying a leap second database and choosing the correct maximum in {58,59,60}. This current solution might match some invalid dates but it won't lead to false negatives. This only works if we know the full date, however