diff options
author | Rutger Broekhoff | 2024-08-10 15:51:34 +0200 |
---|---|---|
committer | Rutger Broekhoff | 2024-08-10 15:51:34 +0200 |
commit | 66a98861d0fbb7cba742b63bf97268a2a619c5e0 (patch) | |
tree | 433513c7f875c43a81bd4efe379fffc3e8d4c5ce /lib/libtmi8/src | |
parent | 279f790f078325582aa62e562a766204034766e4 (diff) | |
download | oeuf-66a98861d0fbb7cba742b63bf97268a2a619c5e0.tar.gz oeuf-66a98861d0fbb7cba742b63bf97268a2a619c5e0.zip |
Some small updates here and there
Diffstat (limited to 'lib/libtmi8/src')
-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 | ||