devel/p5-Time-Format 1.12_1 FreeBSD
Easy-to-use date/time formatting
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Categories
- devel, perl5
- Package size
- 22.3 KiB, 47.3 KiB installed
Description
Time::Format provides a very easy way to format dates and times. The formatting functions are tied to hash variables, so they can be used inside strings as well as in ordinary expressions. The formatting codes used are meant to be easy to remember, use, and read. They follow a simple, consistent pattern. If I've done my job right, once you learn the codes, you should never have to refer to the documentation again. A quick-reference page is included, just in case. ;-)
Time::Format can also format DateTime objects, and strings created with Date::Manip.
Also provided is a tied-hash interface to POSIX::strftime and Date::Manip::UnixDate.
If the I18N::Langinfo module is available, Time::Format provides weekday and month names in a language appropriate for your locale.
A companion module, Time::Format_XS, is also available; if it is installed, Time::Format will detect and use it, which will result in a significant speed improvement.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/p5-Time-Format | 1.12_1 |
| OpenBSD | devel/p5-Time-Format | 1.16p0 |
| NetBSD | time/p5-Time-Format | 1.16nb6 |
| DragonFly | devel/p5-Time-Format | 1.12_1 |
Install
Binary package:
pkg install p5-Time-Format
From the ports tree:
cd /usr/ports/devel/p5-Time-Format/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-Time-Format>0:devel/p5-Time-Format
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.12_1 | 1.12_1 | 1.12_1 | 1.12_1 | 1.12_1 |
| FreeBSD:14:quarterly | 1.12_1 | 1.12_1 | n/a | 1.12_1 | 1.12_1 |
| FreeBSD:15:latest | 1.12_1 | 1.12_1 | n/a | 1.12_1 | 1.12_1 |
| FreeBSD:15:quarterly | 1.12_1 | 1.12_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.12_1 | 1.12_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 1
Run dependencies 1
Required by 1
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 2
- %%SITE_PERL%%/Time/Format.pm
- %%PERL5_MAN3%%/Time::Format.3.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Time-Format-1.12.tar.gz | 38131 | ef96ba090268a568367c83ecdcac349b0cfe164329bc34de9fbcc2dbe66b8c9e |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.