MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / tt_timezone_get_code

Function tt_timezone_get_code

TactilityC/Source/tt_time.cpp:24–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22}
23
24bool tt_timezone_get_code(char* buffer, size_t bufferSize) {
25 auto code = settings::getTimeZoneCode();
26 if (bufferSize < (code.length() + 1)) {
27 return false;
28 } else {
29 strcpy(buffer, code.c_str());
30 return true;
31 }
32}
33
34bool tt_timezone_is_format_24_hour() {
35 return settings::isTimeFormat24Hour();

Callers

nothing calls this directly

Calls 1

getTimeZoneCodeFunction · 0.85

Tested by

no test coverage detected