daurnimator / luatz

Time, Date and Timezone library for lua

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Time, Date and Timezone library for lua

License:MIT License


Languages

Language:Lua 100.0%