Lua Date and Time module for Lua 5.x.
- Date and Time string parsing.
- Time addition and subtraction.
- Time span calculation.
- Support ISO 8601 Dates.
- Local time support.
- Lua module (not binary).
- Formats Date and Time like strftime.
Documentation is available in the doc
folder, or online at Github.
Tests are located in the spec
directory and can be run using busted.
- search for "copyright" and update all occurences with proper years
- update version in:
README.md
(at the top)date.lua
(at the top, and exported fielddate.version
)index.html
(appr. line 20)
- update changelog below
- update rockspec
- commit as
release x.y.z
(omit trailing 0) - tag as
version_x.y.z
(omit trailing 0) - push commit & tags
- upload rock to luarocks
- fix parsing timezone offset after a decimal number #33
- also accept "," as a decimal separator #31
- fix bad function call (no functional impact) #34
- add 'centuryflip' to set 2 digit year interpretation #26
- fix rockspec for Lua 5.4
- fix scientific notation #9, now available for Lua 5.3
- fix for '>=' operator #3, added test suite, added Travis CI, license MIT
- Lua 5.2 support. Global 'date' will no longer be set.
- original by Jas Latrix