diff options
author | miroslav2 <miroslav2@yandex-team.ru> | 2022-02-10 16:50:54 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:54 +0300 |
commit | e13b11cc555cf840f384b0a13c95fda563c7e81b (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /util | |
parent | 896ea04259c43c3c46da4b065d4cda47938393b9 (diff) | |
download | ydb-e13b11cc555cf840f384b0a13c95fda563c7e81b.tar.gz |
Restoring authorship annotation for <miroslav2@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util')
-rw-r--r-- | util/README.md | 8 | ||||
-rw-r--r-- | util/datetime/parser.h | 2 | ||||
-rw-r--r-- | util/datetime/parser_ut.cpp | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/util/README.md b/util/README.md index 28718feec8..496efa633c 100644 --- a/util/README.md +++ b/util/README.md @@ -35,10 +35,10 @@ This guide is not a mandatory as there is the general style guide. Nevertheless if it is not followed, then a next `ya style .` run in the util folder will undeservedly update authors of some lines of code. Thus before a commit it is recommended to run `ya style .` in the util folder. - - -Don't forget to run tests from folder `tests`: `ya make -t tests` - + + +Don't forget to run tests from folder `tests`: `ya make -t tests` + **Note:** tests are designed to run using `autocheck/` solution. # Submitting a patch diff --git a/util/datetime/parser.h b/util/datetime/parser.h index 3119aa5d74..f0c1b4a0c7 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 a48626adc4..61364af997 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); |