MCPcopy Create free account
hub / github.com/Tiiny-AI/PowerInfer / strftime_fmt

Function strftime_fmt

smallthinker/tools/run/run.cpp:54–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54static std::string strftime_fmt(const char * fmt, const std::tm & tm) {
55 std::ostringstream oss;
56 oss << std::put_time(&tm, fmt);
57
58 return oss.str();
59}
60
61class Opt {
62 public:

Callers 1

s3_dlMethod · 0.85

Calls 1

strMethod · 0.45

Tested by

no test coverage detected