We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
When creating a FancyDuration with 365 days, it prints out 1y 5d
FancyDuration
1y 5d
use std::time::Duration; use fancy_duration::FancyDuration; fn main() { println!("{}", FancyDuration(Duration::from_secs(365 * 24 * 60 * 60))); }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When creating a
FancyDuration
with 365 days, it prints out1y 5d
Code:
Output
The text was updated successfully, but these errors were encountered: