MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / toIso8601

Function toIso8601

lib/core/utils.cc:129–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127}
128
129std::string toIso8601(time_t t)
130{
131 auto* tm = std::gmtime(&t);
132
133 std::stringstream ss;
134 ss << std::put_time(tm, "%FT%T%z");
135 return ss.str();
136}
137
138std::string quote(const std::string& s)
139{

Callers 1

toDirentMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected