Skip to content

Commit

Permalink
Don't add timezone offset to ISO time, since it results in errors
Browse files Browse the repository at this point in the history
  • Loading branch information
timwoj committed Dec 1, 2023
1 parent c155459 commit 33ada7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/helpers.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ inline std::string to_string_iso(Time t) {
auto tm = std::localtime(&teatime);

std::stringstream b;
b << std::put_time(tm, "%FT%T%z");
b << std::put_time(tm, "%FT%T");
return std::string(b.str());
}

Expand Down

0 comments on commit 33ada7b

Please sign in to comment.