diff options
author | Anton Samokhvalov <pg83@yandex.ru> | 2022-02-10 16:45:15 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:15 +0300 |
commit | 72cb13b4aff9bc9cf22e49251bc8fd143f82538f (patch) | |
tree | da2c34829458c7d4e74bdfbdf85dff449e9e7fb8 /library/cpp/timezone_conversion/civil.cpp | |
parent | 778e51ba091dc39e7b7fcab2b9cf4dbedfb6f2b5 (diff) | |
download | ydb-72cb13b4aff9bc9cf22e49251bc8fd143f82538f.tar.gz |
Restoring authorship annotation for Anton Samokhvalov <pg83@yandex.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/timezone_conversion/civil.cpp')
-rw-r--r-- | library/cpp/timezone_conversion/civil.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/library/cpp/timezone_conversion/civil.cpp b/library/cpp/timezone_conversion/civil.cpp index 5986318b9a..3cecf0b467 100644 --- a/library/cpp/timezone_conversion/civil.cpp +++ b/library/cpp/timezone_conversion/civil.cpp @@ -177,7 +177,7 @@ namespace NDatetime { template <> void Out<NDatetime::TCivilYear>(IOutputStream& out, const NDatetime::TCivilYear& y) { - out << y.year(); + out << y.year(); } template <> @@ -209,26 +209,26 @@ template <> void Out<NDatetime::TWeekday>(IOutputStream& out, NDatetime::TWeekday wd) { using namespace cctz; switch (wd) { - case weekday::monday: + case weekday::monday: out << TStringBuf("Monday"); - break; - case weekday::tuesday: + break; + case weekday::tuesday: out << TStringBuf("Tuesday"); - break; - case weekday::wednesday: + break; + case weekday::wednesday: out << TStringBuf("Wednesday"); - break; - case weekday::thursday: + break; + case weekday::thursday: out << TStringBuf("Thursday"); - break; - case weekday::friday: + break; + case weekday::friday: out << TStringBuf("Friday"); - break; - case weekday::saturday: + break; + case weekday::saturday: out << TStringBuf("Saturday"); - break; - case weekday::sunday: + break; + case weekday::sunday: out << TStringBuf("Sunday"); - break; + break; } } |