Skip to content

Commit

Permalink
fix: use ISO8601 timestamps for STARTING_TIME
Browse files Browse the repository at this point in the history
Fixes #244
  • Loading branch information
bmario committed Mar 15, 2024
1 parent a73656a commit f7788bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/trace/trace.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ void Trace::begin_record()
starting_system_time_ = std::chrono::system_clock::now();

const std::time_t t_c = std::chrono::system_clock::to_time_t(starting_system_time_);
add_lo2s_property("STARTING_TIME", fmt::format("{:%c}", fmt::localtime(t_c)));
add_lo2s_property("STARTING_TIME", fmt::format("{:%FT%T%z}", fmt::localtime(t_c)));
}

void Trace::end_record()
Expand Down

0 comments on commit f7788bd

Please sign in to comment.