BSD Ports

devel/p5-Time-Piece-MySQL 0.06p4 OpenBSD

MySQL representations for Time::Piece objects

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Last update
Commit
68d09f0a8b
Categories
devel, perl5

Description

Using this module in addition to "Time::Piece" adds a few MySQL-specific date-time methods to "Time::Piece" objects.

OBJECT METHODS mysql_date / mysql_time / mysql_datetime / mysql_timestamp Returns the date and/or time in a format suitable for use by MySQL.

CONSTRUCTORS from_mysql_date / from_mysql_datetime / from_mysql_timestamp Given a date, datetime, or timestamp value as returned from MySQL, these constructors return a new Time::Piece object. If the value is NULL, they will return undef.

In the other systems

SystemPortVersion
OpenBSDdevel/p5-Time-Piece-MySQL0.06p4
FreeBSDdatabases/p5-Time-Piece-MySQL0.06_2
DragonFlydatabases/p5-Time-Piece-MySQL0.06_2
MidnightBSDdatabases/p5-Time-Piece-MySQL0.06
HardenedBSDdatabases/p5-Time-Piece-MySQL0.06_2
GhostBSDdatabases/p5-Time-Piece-MySQL0.06_2

Install

Binary package:

pkg_add p5-Time-Piece-MySQL

From the ports tree:

cd /usr/ports/devel/p5-Time-Piece-MySQL && make install

Dependencies

No port depends on this one.

Commit history 1

DateCommitCreditsLog message
68d09f0a8b sthen fix DESCR issues found by codespell. some wider rewording in a few cases where the file was incomprehensible.