aboutsummaryrefslogtreecommitdiffstats
path: root/util/draft/date.cpp
diff options
context:
space:
mode:
authorVlad Yaroslavlev <vladon@vladon.com>2022-02-10 16:46:23 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:23 +0300
commit706b83ed7de5a473436620367af31fc0ceecde07 (patch)
tree103305d30dec77e8f6367753367f59b3cd68f9f1 /util/draft/date.cpp
parent918e8a1574070d0ec733f0b76cfad8f8892ad2e5 (diff)
downloadydb-706b83ed7de5a473436620367af31fc0ceecde07.tar.gz
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 1 of 2.
Diffstat (limited to 'util/draft/date.cpp')
-rw-r--r--util/draft/date.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/draft/date.cpp b/util/draft/date.cpp
index a290c46050..645edad013 100644
--- a/util/draft/date.cpp
+++ b/util/draft/date.cpp
@@ -44,7 +44,7 @@ TDate::TDate(const char* yyyymmdd)
{
}
-TDate::TDate(const TString& yyyymmdd)
+TDate::TDate(const TString& yyyymmdd)
: Timestamp(GetDateStart(ParseDate(yyyymmdd.c_str())))
{
}
@@ -54,7 +54,7 @@ TDate::TDate(time_t ts)
{
}
-TDate::TDate(const TString& date, const TString& format)
+TDate::TDate(const TString& date, const TString& format)
: Timestamp(GetDateStart(ParseDate(date.data(), format.data())))
{
}
@@ -82,7 +82,7 @@ time_t TDate::GetStartUTC() const {
return TimeGM(&dateTm);
}
-TString TDate::ToStroka(const char* format) const {
+TString TDate::ToStroka(const char* format) const {
tm dateTm;
localtime_r(&Timestamp, &dateTm);
return Strftime(format, &dateTm);