Skip to content

Commit 94e1389

Browse files
Update src/value.cpp
1 parent e505c9b commit 94e1389

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/value.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -938,7 +938,7 @@ int TimeValue::read(const std::string& buf) {
938938
}
939939
if (buf.size() > 5) {
940940
auto si = std::stoi(buf.substr(spos, 2));
941-
if (si < 0 || si > 59)
941+
if (si < 0 || si > 60)
942942
return printWarning();
943943
time_.second = std::stoi(buf.substr(spos, 2));
944944
} else {

0 commit comments

Comments
 (0)