luatz

Time, Date and Timezone library for lua

MIT License

Stars
118
Committers
1

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

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

via luarocks

luarocks install luatz
Package Rankings
Top 14.8% on Alpine-v3.16
Top 10.51% on Alpine-v3.18
Top 16.3% on Alpine-v3.17
Top 13.71% on Alpine-v3.15
Top 11.06% on Alpine-v3.11
Top 11.34% on Alpine-v3.13
Top 12.09% on Alpine-v3.14
Top 10.96% on Alpine-v3.12
Top 14.77% on Alpine-edge
Badges
Extracted from project README
Build Status Coverage Status