diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libtmi8/src/kv1_parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libtmi8/src/kv1_parser.cpp b/lib/libtmi8/src/kv1_parser.cpp index 78a45a6..3ea9137 100644 --- a/lib/libtmi8/src/kv1_parser.cpp +++ b/lib/libtmi8/src/kv1_parser.cpp | |||
@@ -374,7 +374,7 @@ static std::optional<std::chrono::sys_seconds> parseDateTime(std::string_view sr | |||
374 | size_t tzd_off = time_off + 9; | 374 | size_t tzd_off = time_off + 9; |
375 | // For clarity, TZD stands for Time Zone Designator. It often takes the form | 375 | // For clarity, TZD stands for Time Zone Designator. It often takes the form |
376 | // of Z (Zulu, UTC+00:00) or as an offset from UTC in hours and minutes, | 376 | // of Z (Zulu, UTC+00:00) or as an offset from UTC in hours and minutes, |
377 | // formatted as +|-HH:MM (e.g. +01:00, -12:00). | 377 | // formatted as ±HH:MM (e.g. +01:00, -12:00). |
378 | 378 | ||
379 | if (time_off + 8 >= src.size()) ERROR("bad format, not enough space for hh:mm:ss"); | 379 | if (time_off + 8 >= src.size()) ERROR("bad format, not enough space for hh:mm:ss"); |
380 | 380 | ||