devel/rubygem-timeliness 0.5.2 DragonFly
Fast date/time parser with customisable formats, timezone and I18n support
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- MIT
- Categories
- devel, rubygems
- Package size
- 23.1 KiB, 100.9 KiB installed
Description
Date/time parser for Ruby with the following features:
- Extensible with custom formats and tokens.
- It's pretty fast. Up to 60%25 faster than Time/Date parse method.
- Control the parser strictness.
- Control behaviour of ambiguous date formats (US vs European e.g. mm/dd/yy, dd/mm/yy).
- I18n support (for months), if I18n gem loaded.
- Fewer WTFs than Time/Date parse method.
- Has no dependencies.
Extracted from the validates_timeliness gem, it has been rewritten cleaner and much faster. It's most suitable for when you need to control the parsing behaviour. It's faster than the Time/Date class parse methods, so it has general appeal.
In the other systems
| System | Port | Version |
|---|---|---|
| DragonFly | devel/rubygem-timeliness | 0.5.2 |
| FreeBSD | devel/rubygem-timeliness | 0.5.3 |
| MidnightBSD | devel/rubygem-timeliness | 0.5.3 |
| HardenedBSD | devel/rubygem-timeliness | 0.5.3 |
| GhostBSD | devel/rubygem-timeliness | 0.5.3 |
Install
Binary package:
pkg install rubygem-timeliness
From DPorts:
cd /usr/dports/devel/rubygem-timeliness && make install clean