1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-04-10 22:20:45 +01:00

chrono causing some problems on Cray systems. Suspend use for now

This commit is contained in:
Peter Boyle 2015-11-04 04:28:31 -06:00
parent d35d63b171
commit 96608c70d1

View File

@ -83,7 +83,7 @@ inline void NerscMachineCharacteristics(NerscField &header)
std::time_t t = std::time(nullptr); std::time_t t = std::time(nullptr);
std::tm tm = *std::localtime(&t); std::tm tm = *std::localtime(&t);
std::ostringstream oss; std::ostringstream oss;
oss << std::put_time(&tm, "%c %Z"); // oss << std::put_time(&tm, "%c %Z");
header.creation_date = oss.str(); header.creation_date = oss.str();
header.archive_date = header.creation_date; header.archive_date = header.creation_date;