| 22 | } |
| 23 | |
| 24 | bool 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 | |
| 34 | bool tt_timezone_is_format_24_hour() { |
| 35 | return settings::isTimeFormat24Hour(); |
nothing calls this directly
no test coverage detected