measurement-kit/mkreport

Make sure we are using UTC, add tests if needed

bassosimone opened this issue · 2 comments

It occurred to me re-reading the collector v2.0.x spec.

So, we're clearly using UTC. Now let's see about tests.

The standard does not specify whether we're using UTC:

Though unspecified by the standard, every implementation of std::chrono::system_clock::now() is tracking Unix Time, which is a very close approximation to UTC.

The matter will be clarified by C++20.

The description of system_clock by Microsoft further clarifies:

A clock type is used to obtain the current time as UTC.

No further action required.