aboutsummaryrefslogtreecommitdiffstats
path: root/util/datetime/systime.cpp
diff options
context:
space:
mode:
authormvel <mvel@yandex-team.ru>2022-02-10 16:45:41 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:41 +0300
commit43f5a35593ebc9f6bcea619bb170394ea7ae468e (patch)
treee98df59de24d2ef7c77baed9f41e4875a2fef972 /util/datetime/systime.cpp
parentbd30392c4cc92487950adc375c07adf52da1d592 (diff)
downloadydb-43f5a35593ebc9f6bcea619bb170394ea7ae468e.tar.gz
Restoring authorship annotation for <mvel@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/datetime/systime.cpp')
-rw-r--r--util/datetime/systime.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/util/datetime/systime.cpp b/util/datetime/systime.cpp
index 6df1ee2181..6ee7e8fc6e 100644
--- a/util/datetime/systime.cpp
+++ b/util/datetime/systime.cpp
@@ -131,10 +131,10 @@ struct tm* GmTimeR(const time_t* timer, struct tm* tmbuf) {
return tmbuf;
}
-
+
TString CTimeR(const time_t* timer) {
- char sTime[32];
- sTime[0] = 0;
- ctime_r(timer, &sTime[0]);
- return sTime;
-}
+ char sTime[32];
+ sTime[0] = 0;
+ ctime_r(timer, &sTime[0]);
+ return sTime;
+}