Skip to content

daurnimator/luatz

Repository files navigation

luatz

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

Build Status Coverage Status

Supported under Lua 5.1, 5.2, 5.3 and LuaJIT.

Documentation

Documentation can be found in the doc sub-directory.

An online version can be found at https://daurnimator.github.io/luatz/

Installation

luarocks install luatz