Use system_clock in event journal time printing
This commit is contained in:
parent
e3030416ce
commit
44d4deca22
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ namespace psemek::journal
|
|||
|
||||
std::string current_time()
|
||||
{
|
||||
const auto now = std::chrono::high_resolution_clock::now();
|
||||
const auto now = std::chrono::system_clock::now();
|
||||
return std::format("{:%FT%TZ}", now);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue