aboutsummaryrefslogtreecommitdiffstats
path: root/util/datetime/parser.h
diff options
context:
space:
mode:
authorlapshov <lapshov@yandex-team.ru>2022-02-10 16:49:39 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:39 +0300
commit1ef52da9919aaa7ec7e3c51da7fdaa637ab133b7 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /util/datetime/parser.h
parent4f36f44b1e216dca1f44ada8d126e7b70f05da2f (diff)
downloadydb-1ef52da9919aaa7ec7e3c51da7fdaa637ab133b7.tar.gz
Restoring authorship annotation for <lapshov@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/datetime/parser.h')
-rw-r--r--util/datetime/parser.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/datetime/parser.h b/util/datetime/parser.h
index a87b08b8d8..f0c1b4a0c7 100644
--- a/util/datetime/parser.h
+++ b/util/datetime/parser.h
@@ -87,7 +87,7 @@ struct TDateTimeFields {
tm.tm_hour = Hour;
tm.tm_min = Minute;
tm.tm_sec = Second;
- time_t tt = TimeGM(&tm);
+ time_t tt = TimeGM(&tm);
if (tt == -1)
return defaultValue;
return tt - ZoneOffsetMinutes * 60;
@@ -134,8 +134,8 @@ protected:
DECLARE_PARSER(TIso8601DateTimeParser)
DECLARE_PARSER(TRfc822DateTimeParser)
DECLARE_PARSER(THttpDateTimeParser)
-DECLARE_PARSER(TX509ValidityDateTimeParser)
-DECLARE_PARSER(TX509Validity4yDateTimeParser)
+DECLARE_PARSER(TX509ValidityDateTimeParser)
+DECLARE_PARSER(TX509Validity4yDateTimeParser)
#undef DECLARE_PARSER