Skip to content
This repository has been archived by the owner on Oct 4, 2021. It is now read-only.

Commit

Permalink
fix time format
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDvP committed Mar 3, 2021
1 parent 1d64649 commit b4bb21b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ void Helpers::json_enum(JsonObject & json, const char * name, const std::vector<

// set json value to time from uint32
void Helpers::json_time(JsonObject & json, const char * name, const uint32_t value, const bool textformat) {
if (!hasValue(value)) {
if (value == EMS_VALUE_ULONG_NOTSET || value == EMS_VALUE_ULONG_NOTSET / 60) {
return;
}
if (textformat) {
Expand Down

0 comments on commit b4bb21b

Please sign in to comment.