• Max Kellermann's avatar
    time/ISO8601: refactor ParseTimeOfDay() to parse one by one · 744bd1ea
    Max Kellermann authored
    This prepares the migration away from strptime() for Windows
    portability.
    
    But the real reason I'm doing this is that strptime() on Apple is
    buggy: strptime("14", "%H%M%S") (without separating colons) succeeds
    even though only the hour has been parsed.  This fixes recent Travis
    failures in the ParseISO8601() unit test.
    744bd1ea
Name
Last commit
Last update
..
ChronoUtil.hxx Loading commit data...
Convert.cxx Loading commit data...
Convert.hxx Loading commit data...
ISO8601.cxx Loading commit data...
ISO8601.hxx Loading commit data...
Parser.cxx Loading commit data...
Parser.hxx Loading commit data...
meson.build Loading commit data...