aboutsummaryrefslogtreecommitdiffstats
path: root/util/datetime
diff options
context:
space:
mode:
authormiroslav2 <miroslav2@yandex-team.ru>2022-02-10 16:50:54 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:50:54 +0300
commite13b11cc555cf840f384b0a13c95fda563c7e81b (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /util/datetime
parent896ea04259c43c3c46da4b065d4cda47938393b9 (diff)
downloadydb-e13b11cc555cf840f384b0a13c95fda563c7e81b.tar.gz
Restoring authorship annotation for <miroslav2@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/datetime')
-rw-r--r--util/datetime/parser.h2
-rw-r--r--util/datetime/parser_ut.cpp2
2 files changed, 2 insertions, 2 deletions
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);