diff --git a/ClockMeter.c b/ClockMeter.c index 9c70b24f6..68a270d37 100644 --- a/ClockMeter.c +++ b/ClockMeter.c @@ -26,7 +26,7 @@ static void ClockMeter_updateValues(Meter* this) { struct tm result; const struct tm* lt = localtime_r(&host->realtime.tv_sec, &result); - strftime(this->txtBuffer, sizeof(this->txtBuffer), "%H:%M:%S", lt); + strftime(this->txtBuffer, sizeof(this->txtBuffer), "%H:%M:%S %Z", lt); } const MeterClass ClockMeter_class = { diff --git a/DateTimeMeter.c b/DateTimeMeter.c index c4ec0def8..f592bce70 100644 --- a/DateTimeMeter.c +++ b/DateTimeMeter.c @@ -26,7 +26,7 @@ static void DateTimeMeter_updateValues(Meter* this) { struct tm result; const struct tm* lt = localtime_r(&host->realtime.tv_sec, &result); - strftime(this->txtBuffer, sizeof(this->txtBuffer), "%F %H:%M:%S", lt); + strftime(this->txtBuffer, sizeof(this->txtBuffer), "%F %H:%M:%S %Z", lt); } const MeterClass DateTimeMeter_class = {