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;
|
||||
struct tm 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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue