diff options
author | miroslav2 <[email protected]> | 2022-02-10 16:50:53 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:50:53 +0300 |
commit | 896ea04259c43c3c46da4b065d4cda47938393b9 (patch) | |
tree | 7d002af0b095494c155fc6a0319c619cb80753aa /util | |
parent | d6e236f5b91635a49d8cf1211f5d9631f24acd1b (diff) |
Restoring authorship annotation for <[email protected]>. Commit 1 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 496efa633c1..28718feec8d 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 f0c1b4a0c78..3119aa5d747 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 61364af997f..a48626adc41 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); |