heim icon indicating copy to clipboard operation
heim copied to clipboard

Consider returning a process' creation time as a SystemTime

Open HadrienG2 opened this issue 6 years ago • 1 comments

Since you return an elapsed time since the Unix epoch, you already did 95% of the work required to use SystemTime here, and SystemTime is...

  1. Closer to std and chrono conventions.
  2. More convenient to use for creation/modification date purposes.

HadrienG2 avatar Apr 22 '20 13:04 HadrienG2

I like this idea, because in a current implementation not all used unit types are semantically that good to represent what values they are carrying.

svartalf avatar Apr 22 '20 13:04 svartalf