mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-18 09:45:55 +01:00
Compile fixes
This commit is contained in:
parent
56042f002c
commit
eaac0044b5
@ -103,9 +103,9 @@ namespace Grid {
|
|||||||
|
|
||||||
// When
|
// When
|
||||||
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;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user