diff options
author | aprudaev <aprudaev@yandex-team.ru> | 2022-02-10 16:49:58 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:58 +0300 |
commit | 042dfdfd1388209ce3aa06dca56bd52ec63d40b2 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /util/draft/datetime.h | |
parent | 29e66fe2ab37743577f88e6ab770defc4e6c1002 (diff) | |
download | ydb-042dfdfd1388209ce3aa06dca56bd52ec63d40b2.tar.gz |
Restoring authorship annotation for <aprudaev@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/draft/datetime.h')
-rw-r--r-- | util/draft/datetime.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/draft/datetime.h b/util/draft/datetime.h index 616fb848d0..8a387ea6f1 100644 --- a/util/draft/datetime.h +++ b/util/draft/datetime.h @@ -173,7 +173,7 @@ struct TMonth { TMonth operator-(ui16 n) { if (n <= Month) { - return TMonth(Year, Month - (ui8)n); + return TMonth(Year, Month - (ui8)n); } else { n -= Month; return (n % 12) ? TMonth(Year - 1 - (n / 12), 12 - (n % 12)) : TMonth(Year - (n / 12), 0); |