github.com/wyhaines/time-ext.cr
1.0.1 / published Oct 7, 2024 / repository
This is a very small extension of the Time class for Crystal. It has been extracted from another project as it provides a small number of logical and useful extensions to Time.
time-ext
TODO: Write a description here
Installation
-
Add the dependency to your
shard.yml:dependencies: time-ext: github: your-github-user/time-ext -
Run
shards install
Usage
require "time-ext"
TODO: Write usage instructions here
Development
TODO: Write development instructions here
Contributing
- Fork it (https://github.com/your-github-user/time-ext/fork)
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
Contributors
- Kirk Haines - creator and maintainer
API
- Time
Timerepresents a date-time instant in incremental time observed in a specific time zone.