diff options
author | Andrey Khalyavin <halyavin@gmail.com> | 2022-02-10 16:46:29 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:29 +0300 |
commit | f773626848a7c7456803654292e716b83d69cc12 (patch) | |
tree | db052dfcf9134f492bdbb962cb6c16cea58e1ed3 /util/datetime/parser.rl6 | |
parent | f43ab775d197d300eb67bd4497632b909cd7c2a5 (diff) | |
download | ydb-f773626848a7c7456803654292e716b83d69cc12.tar.gz |
Restoring authorship annotation for Andrey Khalyavin <halyavin@gmail.com>. Commit 1 of 2.
Diffstat (limited to 'util/datetime/parser.rl6')
-rw-r--r-- | util/datetime/parser.rl6 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/util/datetime/parser.rl6 b/util/datetime/parser.rl6 index 931f09eae1..af805aa218 100644 --- a/util/datetime/parser.rl6 +++ b/util/datetime/parser.rl6 @@ -6,7 +6,7 @@ #include <numeric> #include <util/datetime/parser.h> -#include <util/generic/ymath.h> +#include <util/generic/ymath.h> %%{ @@ -775,8 +775,8 @@ bool TDurationParser::ParsePart(const char* input, size_t len) { static inline ui64 DecPower(ui64 part, i32 power) { if (power >= 0) - return part * Power(10, power); - return part / Power(10, -power); + return part * Power(10, power); + return part / Power(10, -power); } TDuration TDurationParser::GetResult(TDuration defaultValue) const { |