Skip to content

icepuma/temps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

temps

temps or [tã] is a library for working with time and dates in Rust.

Usage

Add temps to your Cargo.toml.

temps = "0"

hh:mm:ss

I migrated the functionality of hhmmss into temps as it is not actively maintained anymore.

let duration = std::time::Duration::new(10, 0); // also works for "chrono::Duration" and "time::Duration"

duration.hhmmss() // yields "00:00:10"
duration.hhmmssxxx() // yields "00:00:10.000"

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published