• 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
android Loading commit data...
build Loading commit data...
doc Loading commit data...
python/build Loading commit data...
src Loading commit data...
systemd Loading commit data...
test Loading commit data...
win32 Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
NEWS Loading commit data...
README.md Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...
mpd.svg Loading commit data...
valgrind.suppressions Loading commit data...