diff options
author | agalakhov <agalakhov@yandex-team.ru> | 2022-02-10 16:49:51 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:51 +0300 |
commit | 61a83e458f803c69f5d9d74e5d716cb95b3f2225 (patch) | |
tree | c63ac6b8d61f5c83d025f4b0863f3a2235c6fa39 /util/datetime/parser.rl6 | |
parent | 9622b1b611a91d945eb942671e7ad62d44878b66 (diff) | |
download | ydb-61a83e458f803c69f5d9d74e5d716cb95b3f2225.tar.gz |
Restoring authorship annotation for <agalakhov@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/datetime/parser.rl6')
-rw-r--r-- | util/datetime/parser.rl6 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/util/datetime/parser.rl6 b/util/datetime/parser.rl6 index 931f09eae1..7bb1f69cb5 100644 --- a/util/datetime/parser.rl6 +++ b/util/datetime/parser.rl6 @@ -659,10 +659,10 @@ bool ParseX509ValidityDateTimeDeprecated(const char* input, size_t inputLen, tim return true; } -bool ParseRFC822DateTime(const char* input, time_t& utcTime) { - return ParseRFC822DateTime(input, strlen(input), utcTime); -} - +bool ParseRFC822DateTime(const char* input, time_t& utcTime) { + return ParseRFC822DateTime(input, strlen(input), utcTime); +} + bool ParseISO8601DateTime(const char* input, time_t& utcTime) { return ParseISO8601DateTime(input, strlen(input), utcTime); } @@ -675,7 +675,7 @@ bool ParseX509ValidityDateTime(const char* input, time_t& utcTime) { return ParseX509ValidityDateTime(input, strlen(input), utcTime); } -bool ParseRFC822DateTime(const char* input, size_t inputLen, time_t& utcTime) { +bool ParseRFC822DateTime(const char* input, size_t inputLen, time_t& utcTime) { try { utcTime = ParseUnsafe<TRfc822DateTimeParser, TInstant>(input, inputLen).TimeT(); return true; @@ -684,7 +684,7 @@ bool ParseRFC822DateTime(const char* input, size_t inputLen, time_t& utcTime) { } } -bool ParseISO8601DateTime(const char* input, size_t inputLen, time_t& utcTime) { +bool ParseISO8601DateTime(const char* input, size_t inputLen, time_t& utcTime) { try { utcTime = ParseUnsafe<TIso8601DateTimeParser, TInstant>(input, inputLen).TimeT(); return true; |