Frederic Cambus <[email protected]> writes:
> Hi ports@,
>
> Here is a new port: devel/lua-tz
>
> Comments? OK?
>
> From DESCR:
>
> A lua library for time and date manipulation.
>
> Features include:
>
> - Normalisation of broken down date objects - allows for complex time/date
> manipulation logic e.g. "What day is it in 2 days, 5 hours from now?"
> - Conversion between locations (time zones) using your local zoneinfo database
> - strftime style formatting
ok jca@
You could add a very basic test target, eg
do-test:
cd ${WRKSRC} && ${MODLUA_BIN} ${WRKSRC}/examples/os_date.lua
(the other example file doesn't work...)
--
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE