BSD Ports

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

SystemPortVersion
FreeBSDdevel/p5-Time-Format1.12_1
OpenBSDdevel/p5-Time-Format1.16p0
NetBSDtime/p5-Time-Format1.16nb6
DragonFlydevel/p5-Time-Format1.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.12_11.12_11.12_11.12_11.12_1
FreeBSD:14:quarterly1.12_11.12_1n/a1.12_11.12_1
FreeBSD:15:latest1.12_11.12_1n/a1.12_11.12_1
FreeBSD:15:quarterly1.12_11.12_1n/an/an/a
FreeBSD:16:latest1.12_11.12_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/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
FileSizeSHA256
Time-Format-1.12.tar.gz38131ef96ba090268a568367c83ecdcac349b0cfe164329bc34de9fbcc2dbe66b8c9e
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.