Skip to content

Commit

Permalink
Add the timezone in date/time meter
Browse files Browse the repository at this point in the history
... just as done in clock meter.
  • Loading branch information
eworm-de committed Apr 19, 2024
1 parent ff7a2e0 commit 4b04865
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DateTimeMeter.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ static void DateTimeMeter_updateValues(Meter* this) {
this->total = 365;
}
this->values[0] = lt->tm_yday;
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 = {
Expand Down

0 comments on commit 4b04865

Please sign in to comment.