MCPcopy Create free account
hub / github.com/TypesettingTools/Aegisub / strftime

Function strftime

libaegisub/common/util.cpp:64–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62namespace agi { namespace util {
63
64std::string strftime(const char *fmt, const tm *tmptr) {
65 if (!tmptr) {
66 time_t t = time(nullptr);
67 tmptr = localtime(&t);
68 }
69
70 char buff[65536];
71 ::strftime(buff, sizeof buff, fmt, tmptr);
72 return buff;
73}
74
75std::string fold_case(std::string_view str, icu::Edits *edits) {
76 if (str.size() > std::numeric_limits<int32_t>::max())

Callers 7

AutoSaveMethod · 0.85
StackWalkerMethod · 0.85
WriteFunction · 0.85
WriteFunction · 0.85
create_headerFunction · 0.85
UnhandledExceptionMethod · 0.85
JsonEmitterMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected