diff options
author | levong <levong@yandex-team.ru> | 2022-02-10 16:51:45 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:51:45 +0300 |
commit | 5a1d870a044e6a0fc52fe457c2a6055181cf7438 (patch) | |
tree | 3cdd2c9308558b140cf58d98c76dd716ff4012a4 /util/datetime | |
parent | 4596484b94e7bba39c8241e41e9c7f7b5665fdc5 (diff) | |
download | ydb-5a1d870a044e6a0fc52fe457c2a6055181cf7438.tar.gz |
Restoring authorship annotation for <levong@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/datetime')
-rw-r--r-- | util/datetime/systime.cpp | 2 | ||||
-rw-r--r-- | util/datetime/systime.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/util/datetime/systime.cpp b/util/datetime/systime.cpp index 6ee7e8fc6e..9ebc54ac9a 100644 --- a/util/datetime/systime.cpp +++ b/util/datetime/systime.cpp @@ -84,7 +84,7 @@ time_t TimeGM(const struct tm* t) { unsigned long secs = days * 86400ul + t->tm_hour * 3600 + t->tm_min * 60 + t->tm_sec; return (time_t)secs; } - + struct tm* GmTimeR(const time_t* timer, struct tm* tmbuf) { static const int _ytab[2][12] = { {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}, diff --git a/util/datetime/systime.h b/util/datetime/systime.h index 491d36e802..6ec445dc7f 100644 --- a/util/datetime/systime.h +++ b/util/datetime/systime.h @@ -11,7 +11,7 @@ struct tm* GmTimeR(const time_t* timer, struct tm* tmbuf); // safe version of ctime, convinient version of ctime_r TString CTimeR(const time_t* timer); -#ifdef _win_ +#ifdef _win_ #include <util/system/winint.h> #include <winsock2.h> |