MCPcopy Create free account
hub / github.com/comaps/comaps / GetCurrentDate

Function GetCurrentDate

libs/indexer/editable_map_object.cpp:56–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54 return true;
55}
56std::string GetCurrentDate()
57{
58 auto const t = std::time(nullptr);
59 auto const tm = *std::localtime(&t);
60 std::ostringstream oss;
61 oss << std::put_time(&tm, "%Y-%m-%d");
62 return oss.str();
63}
64} // namespace
65
66// LocalizedName -----------------------------------------------------------------------------------

Callers 1

LogDiffInJournalMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected