time-span-humanize
Version, currently 0.1.01 version
- 0.1.0latestMay 9, 2019
github.com/vladfaust/time-span-humanize
Time::Span#humanize method
6 stars
0 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
time-span-humanize:
github: vladfaust/time-span-humanize
version: ~> 0.1.0Then run:
shards installshard.yml
- Crystal
0.28.0- License
- MIT
- Author
- Vlad Faust <mail@vladfaust.com>
Dependencies
This version declares no dependencies.
README
# Time::Span#humanize
[](https://crystal-lang.org/)
[](https://travis-ci.org/vladfaust/time-span-humanize)
[](https://github.vladfaust.com/time-span-humanize)
[](https://github.com/vladfaust/time-span-humanize/releases)
[](https://github.com/veelenga/awesome-crystal)
[](https://vladfaust.com)
[](https://www.patreon.com/vladfaust)
[](https://gitter.im/vladfaust/Lobby)
`Time::Span#humanize` method for [Crystal](https://crystal-lang.org/).
[](https://www.patreon.com/vladfaust)
## Installation
Add this to your application's `shard.yml`:
```yaml
dependencies:
time-span-humanize:
github: vladfaust/time-span-humanize
version: ~> 0.1.0
```
This shard follows [Semantic Versioning v2.0.0](http://semver.org/), so check [releases](https://github.com/vladfaust/time-span-humanize/releases) and change the `version` accordingly.
> Note that until Crystal is officially released, this shard would be in beta state (`0.*.*`), with every **minor** release considered breaking. For example, `0.1.0` → `0.2.0` is breaking and `0.1.0` → `0.1.1` is not.
## Usage
```crystal
require "time-span-humanize"
42.milliseconds.humanize # => "42ms"
```
## Contributing
1. Fork it ( https://github.com/vladfaust/time-span-humanize/fork )
2. Create your feature branch (git checkout -b my-new-feature)
3. Commit your changes (git commit -am 'feat: some feature') using [Angular style commits](https://github.com/angular/angular/blob/master/CONTRIBUTING.md#commit)
4. Push to the branch (git push origin my-new-feature)
5. Create a new Pull Request
## Contributors
- [Vlad Faust](https://github.com/vladfaust) - creator and maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.1.0- Tagged
- May 9, 2019
- Commit
57f8d45997b7- Crystal
0.28.0- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/vladfaust/time-span-humanize
Metadata
- Created
- Aug 13, 2026
- Updated
- Aug 13, 2026
- Synced
- Aug 13, 2026
- Versions
- 1