aboutsummaryrefslogtreecommitdiffstats
path: root/spec/util_datetime_spec.lua
Commit message (Collapse)AuthorAgeFilesLines
* util.datetime: Add some missing test casesMatthew Wild2022-10-081-0/+15
| | | | You guessed it, mutation testing.
* util.datetime: Add support for sub-second precision timestampsKim Alvefur2022-08-141-0/+13
| | | | | | Lua since 5.3 raises a fuss when time functions are handed a number with a fractional part and the underlying C functions are all based on integer seconds without support for more precision.
* util.datetime: Fix argument order in testsKim Alvefur2022-08-141-6/+6
| | | | The expected value goes first.
* util.datetime: Add testsKim Alvefur2017-11-191-0/+76