XUtils

LuaDate

Date and time module with parsing, formatting, addition/subtraction, localization, and ISO 8601 support.


LuaDate v2.2

Unix build Coveralls code coverage Lint SemVer

Lua Date and Time module for Lua 5.x.

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.

Changelog:

Releasing:

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

Changes:

v2.2.1 released 6-Sep-2023

  • fix parsing timezone offset after a decimal number #33
  • also accept “,” as a decimal separator #31
  • fix bad function call (no functional impact) #34

v2.2

  • add ‘centuryflip’ to set 2 digit year interpretation #26

    v2.1.3

  • fix rockspec for Lua 5.4

    v2.1.2

  • fix scientific notation #9, now available for Lua 5.3

    v2.0

  • original by Jas Latrix


Articles

  • coming soon...