devel/rubygem-time 0.4.1 DragonFly
Extend the Time class with methods for parsing and conversion
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- BSD2CLAUSE, RUBY
- Categories
- devel, rubygems
- Package size
- 10.0 KiB, 34.5 KiB installed
Description
When 'time' is required, Time is extended with additional methods for parsing and converting Times.
This library extends the Time class with the following conversions between date strings and Time objects:
- date-time defined by RFC 2822
- HTTP-date defined by RFC 2616.
- dateTime defined by XML Schema Part 2: Datatypes (ISO 8601)
- various formats handled by Date._parse
- custom formats handled by Date._strptime
In the other systems
| System | Port | Version |
|---|---|---|
| DragonFly | devel/rubygem-time | 0.4.1 |
| FreeBSD | devel/rubygem-time | 0.4.2 |
| MidnightBSD | devel/rubygem-time | 0.4.2_1 |
Install
Binary package:
pkg install rubygem-time
From DPorts:
cd /usr/dports/devel/rubygem-time && make install clean