Thijs Schreijer fc52f2bbf2 chore(cleanup) some non-functional maintenance
- add 'docs' to rockspec for `luarocks doc date` to work
- config trim trailing whitespace
- trim trailing whitespace
- remove test file since it was moved to spec/
2020-10-05 09:09:11 +02:00
2020-10-05 08:36:12 +02:00
2017-01-01 17:59:27 -08:00

LuaDate v2.1

Build Status Coverage Status

Lua Date and Time module for Lua 5.x.

Features:

  • 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.

License

MIT license.

Documentation

Documentation is available in the doc folder, or online at Github.

Tests

Tests are located in the spec directory and can be run using busted.

Changes:

  • v2.1.2 fix scientific notation #9, now available for Lua 5.3
  • v2.1.1 fix for '>=' operator #3, added test suite, added Travis CI, license MIT
  • v2.1 Lua 5.2 support. Global 'date' will no longer be set.
  • v2.0 original by Jas Latrix
Description
Date & Time module for Lua 5.x
Readme MIT 248 KiB
Languages
Lua 94.6%
Makefile 5.4%