luatz 0.3 Released

I’m happy to announce a new release of luatz: 0.3

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?”
New in this release:
  • Lua 5.3 support
  • Fix bug in rfc-3339 serialisation (#4)
Currently hosted on github (along with documentation and examples): https://github.com/daurnimator/luatz
Available via MoonRocks: https://rocks.moonscript.org/modules/daurnimator/luatz/0.3-1
Source download: https://github.com/daurnimator/luatz/releases/tag/v0.3
Also, Happy 2015 everyone!

luatz 0.2 Release

I’m happy to announce a new release of luatz: 0.2

My lua library to work with dates and times.

Features include:
  • A os.date compatible class “timetable” supporting normalisation
  • Conversion between locations (time zones) using your local zoneinfo database.
  • RFC-3339 parsing
  • Works with 5.1, 5.2 and LuaJIT.
New in this release:
  • Support for fractional timetable component normalisation
    • e.g. .month=6.5, .day=1 (which could be read as “the first day after the middle of June”) normalises to .month=2, .day=16
  • Top level aliases for common operations
  • Own implementation of stftime formatting (locales are not yet complete)
  • Uses ljsyscall for more accurate time when available
Currently hosted on github (along with documentation and examples): https://github.com/daurnimator/luatz
Available via MoonRocks: https://rocks.moonscript.org/modules/daurnimator/luatz/0.2-1
Source download: https://github.com/daurnimator/luatz/releases/tag/v0.2