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

Function setTimeFormat24Hour

Tactility/Source/settings/time.cpp:80–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80void setTimeFormat24Hour(bool show24Hour) {
81 SystemSettings properties;
82 if (!loadSystemSettings(properties)) {
83 return;
84 }
85
86 properties.timeFormat24h = show24Hour;
87 saveSystemSettings(properties);
88}
89
90}

Callers 2

onTimeFormatChangedMethod · 0.85

Calls 2

loadSystemSettingsFunction · 0.85
saveSystemSettingsFunction · 0.85

Tested by

no test coverage detected