diff options
author | miroslav2 <miroslav2@yandex-team.ru> | 2022-02-10 16:50:53 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:53 +0300 |
commit | 896ea04259c43c3c46da4b065d4cda47938393b9 (patch) | |
tree | 7d002af0b095494c155fc6a0319c619cb80753aa /util/datetime | |
parent | d6e236f5b91635a49d8cf1211f5d9631f24acd1b (diff) | |
download | ydb-896ea04259c43c3c46da4b065d4cda47938393b9.tar.gz |
Restoring authorship annotation for <miroslav2@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/datetime')
-rw-r--r-- | util/datetime/parser.h | 2 | ||||
-rw-r--r-- | util/datetime/parser_ut.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/util/datetime/parser.h b/util/datetime/parser.h index f0c1b4a0c7..3119aa5d74 100644 --- a/util/datetime/parser.h +++ b/util/datetime/parser.h @@ -8,7 +8,7 @@ struct TDateTimeFields { TDateTimeFields() { Zero(*this); ZoneOffsetMinutes = 0; - Hour = 0; + Hour = 0; } ui32 Year; diff --git a/util/datetime/parser_ut.cpp b/util/datetime/parser_ut.cpp index 61364af997..a48626adc4 100644 --- a/util/datetime/parser_ut.cpp +++ b/util/datetime/parser_ut.cpp @@ -288,7 +288,7 @@ Y_UNIT_TEST_SUITE(TDateTimeParseTest) { // ISO 8601 actually does not allow time without time zone ret = ParseISO8601DateTime("1990-03-15", t); UNIT_ASSERT(ret); - UNIT_ASSERT_VALUES_EQUAL(t, 637459200); + UNIT_ASSERT_VALUES_EQUAL(t, 637459200); // some normal dates ret = ParseISO8601DateTime("1990-03-15T15:16:17Z", t); |