aboutsummaryrefslogtreecommitdiffstats
path: root/util/draft/datetime.h
diff options
context:
space:
mode:
authormyltsev <myltsev@yandex-team.ru>2022-02-10 16:46:03 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:03 +0300
commit9166d66c30c23c9e85a7c88185a068987148d23f (patch)
tree421bdcec5755d9e441c485560aab5ab8d74c7475 /util/draft/datetime.h
parent8d3a5ed3a188a34167eaee54f1691ce5c9edf2f3 (diff)
downloadydb-9166d66c30c23c9e85a7c88185a068987148d23f.tar.gz
Restoring authorship annotation for <myltsev@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/draft/datetime.h')
-rw-r--r--util/draft/datetime.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/draft/datetime.h b/util/draft/datetime.h
index 8a387ea6f1..df814d26da 100644
--- a/util/draft/datetime.h
+++ b/util/draft/datetime.h
@@ -138,7 +138,7 @@ inline TString date2str(const time_t date) {
memset(&dateTm, 0, sizeof(dateTm));
localtime_r(&date, &dateTm);
char buf[9];
- strftime(buf, sizeof(buf), "%Y%m%d", &dateTm);
+ strftime(buf, sizeof(buf), "%Y%m%d", &dateTm);
return TString(buf);
}