A comprehensive Lua library for time, date, and timezone manipulation with zoneinfo support.
luatz is a Lua library for time, date, and timezone manipulation. It solves the problem of handling complex date calculations and timezone conversions in Lua applications by providing normalization, conversion, and formatting tools.
Lua developers building applications that require precise time calculations, timezone handling, or formatted date outputs, such as scheduling systems, logging tools, or international applications.
Developers choose luatz for its comprehensive timezone support using zoneinfo, compatibility across multiple Lua versions, and its ability to handle complex date manipulations with simple APIs.
Time, Date and Timezone library for lua
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Uses the local zoneinfo database for precise timezone adjustments, ensuring reliability for international applications, as highlighted in the README.
Supports Lua 5.1, 5.2, 5.3, and LuaJIT, making it versatile for various Lua environments without version lock-in.
Enables complex date arithmetic like calculating future dates by normalizing broken-down date objects, as described in the features.
Provides strftime-style formatting for custom date strings, familiar to developers from C and other languages.
Relies on the local zoneinfo database, which requires proper installation and updates, adding complexity to setup and maintenance.
Documentation is housed in a 'doc' sub-directory and may lack comprehensive examples, making it less accessible for quick onboarding.
Focuses on core time operations without built-in features for common use cases like recurring events or calendar management.