mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
.cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@12827 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
5f15a14ff3
commit
f66ad70f36
1 changed files with 1 additions and 1 deletions
|
|
@ -600,7 +600,7 @@ Time GetUtcTime()
|
|||
time_t gmt = time(NULL);
|
||||
struct tm timer;
|
||||
struct tm *utc = gmtime_r(&gmt, &timer);
|
||||
return Time(utc->tm_year + 1900, utc->tm_mon + 1, utc->tm_mday,
|
||||
return Time(utc->tm_year + 1900, utc->tm_mon + 1, utc->tm_mday,
|
||||
utc->tm_hour, utc->tm_min, utc->tm_sec);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue