aboutsummaryrefslogtreecommitdiffstats
path: root/util/draft/date.h
diff options
context:
space:
mode:
authornga <nga@yandex-team.ru>2022-02-10 16:48:09 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:09 +0300
commit1f553f46fb4f3c5eec631352cdd900a0709016af (patch)
treea231fba2c03b440becaea6c86a2702d0bfb0336e /util/draft/date.h
parentc4de7efdedc25b49cbea74bd589eecb61b55b60a (diff)
downloadydb-1f553f46fb4f3c5eec631352cdd900a0709016af.tar.gz
Restoring authorship annotation for <nga@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/draft/date.h')
-rw-r--r--util/draft/date.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/draft/date.h b/util/draft/date.h
index e3eb616fe5..01c9ae308f 100644
--- a/util/draft/date.h
+++ b/util/draft/date.h
@@ -11,9 +11,9 @@
time_t GetDateStart(time_t ts);
-// Local date (without time zone)
+// Local date (without time zone)
class TDate {
- // XXX: wrong: must store number of days since epoch
+ // XXX: wrong: must store number of days since epoch
time_t Timestamp;
public:
@@ -22,7 +22,7 @@ public:
{
}
- // XXX: wrong. Should be replace with two methods: TodayGmt() and TodayLocal()
+ // XXX: wrong. Should be replace with two methods: TodayGmt() and TodayLocal()
static TDate Today() {
return TDate(time(nullptr));
}