Skip to content

Commit

Permalink
Fixed|libcore: Parsing a date according to format
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Sep 1, 2019
1 parent 05c39c0 commit f86e657
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doomsday/libs/core/src/data/time.cpp
Expand Up @@ -527,6 +527,7 @@ Time Time::parse(const String &text, const char *format) // static
char ch = 0;
is >> ch;
if (*pos != ch) return Time::invalidTime();
pos++;
}
if (is.fail()) return Time::invalidTime();
}
Expand Down

0 comments on commit f86e657

Please sign in to comment.