humantime
humantime copied to clipboard
A parser and formatter for std::time::{SystemTime, Duration}
is there a regex that can be used to check whether the provided string is in a format that can be parsed by this library? for the purposes of using...
Extend format_duration with rounding to milliseconds, seconds, minutes, hours, days, month and years
Sometimes displaying durations in their full precision is not needed and counter productive. Especially in logs where the quantity of a duration is in a seconds/minute/hour range the formatting of...
At the risk of starting a debate µ (not u) is the correct SI prefix for micro. I've deliberatly split the PR into 2 commits incase you want to support...
At the risk of starting a debate µ (not u) is the correct SI prefix for micro. I've deliberatly split the PR into 2 commits incase you want to support...
See issue #33
Hi, Thanks for your time & patience to review this PR. We are researchers focusing on Rust unit tests. By examine the existing code, we found a unit test can...
This change derives the following traits for the wrapper types, given that the underlying types also do the same. `Duration` - `Default` - `PartialOrd` - `Ord` `Timestamp` - `Copy` -...
This seems like a standard library / windows target feature ? https://github.com/pinkforest/humantime/actions/runs/5357555855/jobs/9718572323#step:4:96 I had to work/around it in multi-platform CI: - https://github.com/cyborg-rs/cyborgtime/pull/4 I sent a PR to add CI which...
I had a problem on Windows side with bumpeted time and rand where the nano Precision seems.. broken ? - https://github.com/cyborg-rs/cyborgtime/pull/4 Wonder if it will happen here too.. anyways here...