ProductPromotion
Logo

Lua

made by https://0x3d.site

GitHub - Tieske/date: Date & Time module for Lua 5.x
Date & Time module for Lua 5.x. Contribute to Tieske/date development by creating an account on GitHub.
Visit Site

GitHub - Tieske/date: Date & Time module for Lua 5.x

GitHub - Tieske/date: Date & Time module for Lua 5.x

LuaDate v2.2

Unix build Coveralls code coverage Lint SemVer

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.

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

More Resources
to explore the angular.

mail [email protected] to add your project or resources here 🔥.

Related Articles
to learn about angular.

FAQ's
to learn more about Angular JS.

mail [email protected] to add more queries here 🔍.

More Sites
to check out once you're finished browsing here.

0x3d
https://www.0x3d.site/
0x3d is designed for aggregating information.
NodeJS
https://nodejs.0x3d.site/
NodeJS Online Directory
Cross Platform
https://cross-platform.0x3d.site/
Cross Platform Online Directory
Open Source
https://open-source.0x3d.site/
Open Source Online Directory
Analytics
https://analytics.0x3d.site/
Analytics Online Directory
JavaScript
https://javascript.0x3d.site/
JavaScript Online Directory
GoLang
https://golang.0x3d.site/
GoLang Online Directory
Python
https://python.0x3d.site/
Python Online Directory
Swift
https://swift.0x3d.site/
Swift Online Directory
Rust
https://rust.0x3d.site/
Rust Online Directory
Scala
https://scala.0x3d.site/
Scala Online Directory
Ruby
https://ruby.0x3d.site/
Ruby Online Directory
Clojure
https://clojure.0x3d.site/
Clojure Online Directory
Elixir
https://elixir.0x3d.site/
Elixir Online Directory
Elm
https://elm.0x3d.site/
Elm Online Directory
Lua
https://lua.0x3d.site/
Lua Online Directory
C Programming
https://c-programming.0x3d.site/
C Programming Online Directory
C++ Programming
https://cpp-programming.0x3d.site/
C++ Programming Online Directory
R Programming
https://r-programming.0x3d.site/
R Programming Online Directory
Perl
https://perl.0x3d.site/
Perl Online Directory
Java
https://java.0x3d.site/
Java Online Directory
Kotlin
https://kotlin.0x3d.site/
Kotlin Online Directory
PHP
https://php.0x3d.site/
PHP Online Directory
React JS
https://react.0x3d.site/
React JS Online Directory
Angular
https://angular.0x3d.site/
Angular JS Online Directory