diff options
author | inngonch <[email protected]> | 2022-02-10 16:49:19 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:49:19 +0300 |
commit | 259606d47f0a87d4980322c10899f41f246ad20c (patch) | |
tree | 9c52cc5f27477775816925ff9e39bd788042bef7 /util/datetime/base.cpp | |
parent | 11c7da3bf8b14be64b7ddaf62ac657d4d2992b33 (diff) |
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'util/datetime/base.cpp')
-rw-r--r-- | util/datetime/base.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/util/datetime/base.cpp b/util/datetime/base.cpp index 38ecc3ab962..6cbc414c92c 100644 --- a/util/datetime/base.cpp +++ b/util/datetime/base.cpp @@ -214,18 +214,18 @@ TString TInstant::ToStringLocalUpToSeconds() const { return ::ToString(FormatLocalUpToSeconds(*this)); } -TString TInstant::FormatLocalTime(const char* format) const noexcept { - struct tm theTm; - LocalTime(&theTm); - return Strftime(format, &theTm); -} - -TString TInstant::FormatGmTime(const char* format) const noexcept { - struct tm theTm; - GmTime(&theTm); - return Strftime(format, &theTm); -} - +TString TInstant::FormatLocalTime(const char* format) const noexcept { + struct tm theTm; + LocalTime(&theTm); + return Strftime(format, &theTm); +} + +TString TInstant::FormatGmTime(const char* format) const noexcept { + struct tm theTm; + GmTime(&theTm); + return Strftime(format, &theTm); +} + ::NPrivate::TPrintableLocalTime<false, true> FormatIsoLocal(TInstant instant) { return ::NPrivate::TPrintableLocalTime<false, true>(instant); } |