Skip to content

Add and subtract durations to find out how long something takes.

License

Notifications You must be signed in to change notification settings

alilleybrinker/dcalc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dcalc

dcalc is a little CLI duration calculator handling addition and subtraction of weeks, days, hours, minutes, and seconds.

Examples

$ dcalc 5m 32s + 4m 2s
9m 34s
$ dcalc 23h + 5h
1d 4h
$ dcalc 30s + 600s
10m 30s

Installation

dcalc is written in Rust. Install dcalc with cargo install dcalc. Note that this requires Rust version 1.56 at minimum.

Contributing

Contributions are welcome. Feel free to open issues or make pull requests.

License

dcalc is MIT licensed. See the full license in LICENSE.md.

About

Add and subtract durations to find out how long something takes.

Topics

Resources

License

Stars

Watchers

Forks

Languages