devel/rubygem-time 0.4.2_1 MidnightBSD
Extend the Time class with methods for parsing and conversion
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- Last update
- Commit
22173208f1- License
- bsd2, ruby
- Categories
- devel, rubygems
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 |
|---|---|---|
| MidnightBSD | devel/rubygem-time | 0.4.2_1 |
| FreeBSD | devel/rubygem-time | 0.4.2 |
| DragonFly | devel/rubygem-time | 0.4.1 |
Install
Binary package:
mport install time
From mports:
cd /usr/mports/devel/rubygem-time && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= time>0:devel/rubygem-time
Dependencies
As this port's Makefile names them.
Build 1
rubygem-date>=0: devel/rubygem-date
Runtime 1
rubygem-date>=0: devel/rubygem-date
Build dependencies 1
Run dependencies 1
Required by 1
Configuration
No options to configure.
- USES
- gem cpe
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| rubygem/time-0.4.2.gem | 13824 | f324e498c3bde9471d45a7d18f874c27980e9867aa5cfca61bebf52262bc3dab |
Master sites 1
- RG