Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/daurnimator/luatz
Time, Date and Timezone library for lua
https://github.com/daurnimator/luatz
date datetime lua time timezone zoneinfo
Last synced: 15 days ago
JSON representation
Time, Date and Timezone library for lua
- Host: GitHub
- URL: https://github.com/daurnimator/luatz
- Owner: daurnimator
- License: mit
- Created: 2013-07-12T21:34:27.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2024-02-29T02:56:44.000Z (9 months ago)
- Last Synced: 2024-10-26T19:56:54.182Z (21 days ago)
- Topics: date, datetime, lua, time, timezone, zoneinfo
- Language: Lua
- Homepage:
- Size: 121 KB
- Stars: 119
- Watchers: 12
- Forks: 15
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: NEWS
- License: COPYING
Awesome Lists containing this project
- awesome-resty - luatz
README
# 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](https://www.iana.org/time-zones) database.
- `strftime` style formatting[![Build Status](https://travis-ci.org/daurnimator/luatz.png)](https://travis-ci.org/daurnimator/luatz) [![Coverage Status](https://coveralls.io/repos/github/daurnimator/luatz/badge.svg?branch=master)](https://coveralls.io/github/daurnimator/luatz?branch=master)
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](https://luarocks.org/modules/daurnimator/luatz)
luarocks install luatz