diff options
author | axc <[email protected]> | 2022-02-10 16:47:35 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:47:35 +0300 |
commit | 1f5217043ad70f25dc35e75b3bd261a1e23d045e (patch) | |
tree | 11bf68c1fa5272d3d3446cbd5a0ff96ed9d75788 /util/datetime/systime.cpp | |
parent | 69505a07cbb096113e85aa02e7d136cac4aa826c (diff) |
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'util/datetime/systime.cpp')
-rw-r--r-- | util/datetime/systime.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/datetime/systime.cpp b/util/datetime/systime.cpp index 6ee7e8fc6ed..5db774dc56a 100644 --- a/util/datetime/systime.cpp +++ b/util/datetime/systime.cpp @@ -81,7 +81,7 @@ time_t TimeGM(const struct tm* t) { days += month_to_days[LEAPYEAR(1900 + t->tm_year)][t->tm_mon]; days += t->tm_mday - 1; - unsigned long secs = days * 86400ul + t->tm_hour * 3600 + t->tm_min * 60 + t->tm_sec; + unsigned long secs = days * 86400ul + t->tm_hour * 3600 + t->tm_min * 60 + t->tm_sec; return (time_t)secs; } |