mirror of
https://github.com/monero-project/monero.git
synced 2024-10-01 11:49:47 -04:00
Merge pull request #8694
d89e7a2
util: make GMT timestamps explicit for clarity (moneromooo-monero)
This commit is contained in:
commit
af88341272
@ -1067,7 +1067,7 @@ std::string get_nix_version_display_string()
|
|||||||
time_t tt = ts;
|
time_t tt = ts;
|
||||||
struct tm tm;
|
struct tm tm;
|
||||||
misc_utils::get_gmt_time(tt, tm);
|
misc_utils::get_gmt_time(tt, tm);
|
||||||
strftime(buffer, sizeof(buffer), "%Y-%m-%d %H:%M:%S", &tm);
|
strftime(buffer, sizeof(buffer), "%Y-%m-%d %H:%M:%SZ", &tm);
|
||||||
return std::string(buffer);
|
return std::string(buffer);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user