mirror of
https://github.com/reactos/CMake.git
synced 2025-03-03 09:27:12 +00:00
Merge topic 'notes_timestamp'
0987a399 CTest: fix Time formatting in Notes.xml Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1428
This commit is contained in:
commit
4857aec5d5
@ -12,6 +12,7 @@
|
||||
#include "cmsys/String.hxx"
|
||||
#include "cmsys/SystemInformation.hxx"
|
||||
#include <algorithm>
|
||||
#include <cstdint>
|
||||
#include <ctype.h>
|
||||
#include <iostream>
|
||||
#include <map>
|
||||
@ -1421,7 +1422,7 @@ int cmCTest::GenerateCTestNotesOutput(cmXMLWriter& xml,
|
||||
std::string note_time = this->CurrentTime();
|
||||
xml.StartElement("Note");
|
||||
xml.Attribute("Name", file);
|
||||
xml.Element("Time", cmSystemTools::GetTime());
|
||||
xml.Element("Time", static_cast<uint64_t>(cmSystemTools::GetTime()));
|
||||
xml.Element("DateTime", note_time);
|
||||
xml.StartElement("Text");
|
||||
cmsys::ifstream ifs(file.c_str());
|
||||
|
Loading…
x
Reference in New Issue
Block a user