diff options
author | myltsev <myltsev@yandex-team.ru> | 2022-02-10 16:46:03 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:03 +0300 |
commit | fc361854fd6ee8d747229b090f0b8018e260d1fb (patch) | |
tree | 1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /util/draft/datetime.h | |
parent | 9166d66c30c23c9e85a7c88185a068987148d23f (diff) | |
download | ydb-fc361854fd6ee8d747229b090f0b8018e260d1fb.tar.gz |
Restoring authorship annotation for <myltsev@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/draft/datetime.h')
-rw-r--r-- | util/draft/datetime.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/draft/datetime.h b/util/draft/datetime.h index df814d26da..8a387ea6f1 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); } |