Commit Graph

57 Commits

Author SHA1 Message Date
Thijs Schreijer
fa3d824e5b release 2.2 2021-07-19 13:14:55 +02:00
Thijs Schreijer
434d7ad64f feat(year) make 2 digit year configurable (#26)
adds a global setting and 2 functions;
- setcenturyflip(val)
- val = getcenturyflip()

Co-authored-by: dimfish <dimfish@gmail.com>
2021-07-19 09:50:09 +02:00
Thijs Schreijer
a2c1a83f3e chore(*) update copyright years 2021-07-18 10:13:05 +02:00
Thijs Schreijer
4f68c2d392 chore(*) replace tabs with spaces 2021-07-18 10:00:06 +02:00
Thijs Schreijer
91231a63e6 chore(ci) update links to travis-ci.com 2021-07-18 09:59:44 +02:00
Thijs Schreijer
58f277dad4 chore(docs) small clarification/correction (#25)
fixes #24
2021-07-18 09:06:54 +02:00
Thijs Schreijer
cd8f6d40e9 release 2.1.3 2020-11-21 09:07:33 +01:00
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
leaf corcoran
a5c8be9dc6 update rockspec, remove 5.4 limitation 2020-10-05 08:36:12 +02:00
leaf corcoran
c5d1718769 lua 5.4 travis test 2020-10-05 08:36:12 +02:00
Thijs Schreijer
b3c3cba87b housekeeping, adding CI, moving some source files, fix linter 2018-12-03 15:48:49 +01:00
Thijs Schreijer
7a05302fb8 remove dead code 2018-04-24 22:20:17 +02:00
Thijs Schreijer
ed92f2499f reduce use of varargs
fixes #17
2018-04-21 00:25:06 +02:00
Thijs Schreijer
b30f6f82ed move doc to docs and remove gh-pages branch 2018-04-20 22:56:22 +02:00
Thijs Schreijer
aa99832ac3 Merge pull request #15 from Scottkao85/patch-1
Update LICENSE
2017-01-31 23:51:21 +01:00
Scott Kao
2ed2eaf723 Update LICENSE
update copyright year to 2017
2017-01-01 17:59:27 -08:00
Thijs Schreijer
35b63cd542 rockspec version update 2015-11-13 00:04:59 +01:00
Thijs Schreijer
f5a3c0d6f9 notation fix and 5.3 ready 2015-11-13 00:04:07 +01:00
Thijs Schreijer
243482af0a Merge pull request #9 from fertel/master
seconds including fraction used scientific notation if less then 1e-4
2015-11-10 22:31:41 +01:00
Jason Fertel
d74a483ee4 seconds including fraction used scientific notation if less then 1e-4 2015-11-05 14:31:59 -05:00
Thijs Schreijer
80f95ab664 fixed some documentation typos 2014-06-08 08:57:06 +02:00
Thijs Schreijer
df6ce667c6 Merge branch 'master' of github.com:brendangilmore/date
Conflicts:
	date-2.1.1-1.rockspec

actually no changes were made...
2014-06-08 07:41:48 +02:00
Thijs Schreijer
ac569c1a70 release version 2.1.1 2014-01-05 09:04:39 +01:00
Thijs Schreijer
4f722b7e2c prepare for release 2014-01-05 08:57:16 +01:00
Thijs Schreijer
2d696f797a Prepare for release 2014-01-05 08:51:05 +01:00
Thijs Schreijer
ee85631c44 Added a whole bunch of tests 2014-01-03 21:19:45 +01:00
Thijs Schreijer
bf9fb008d3 test travis 2014-01-02 14:59:08 +01:00
Thijs Schreijer
0e53489671 first try at travis... 2014-01-02 14:47:08 +01:00
Thijs Schreijer
934e057630 Merge branch 'master' of github.com:Tieske/date 2014-01-02 14:34:51 +01:00
Thijs Schreijer
b1d874b09a reverted to already published rockspec 2014-01-02 14:34:22 +01:00
Thijs Schreijer
c5eaf756ec initial test setup using busted 2014-01-02 14:30:47 +01:00
Thijs Schreijer
775332125a Merge pull request #3 from clarkjc/master
Fixed and/or problem in dobj.__lt and dobj.__le
2014-01-02 05:27:38 -08:00
John Clark
5c2e70f0dc Fixed and/or problem in dobj.__lt and dobj.__le
This snippet demonstrates the problem:

local date = require "date"
local a = date("20131230 00:57:04")
local b = date("20131230 01:00:00")
print(a >= b) -- should be false
2013-12-30 16:27:05 -05:00
Thijs Schreijer
8d0f6e394e renamed back 2013-12-23 11:58:44 +01:00
Thijs Schreijer
ca9f9fa83e fix rockspec 2013-12-23 11:58:14 +01:00
Thijs Schreijer
2566e26fd0 renumbered rockspec file 2013-12-22 07:48:08 +01:00
Thijs Schreijer
722a6220eb update rockspec Lua versions supported 2013-12-22 07:47:29 +01:00
Brendan Gilmore
24767d1523 Update date-2.1.0-1.rockspec
fix dependency to support lua 5.1 or 5.2
2013-12-13 12:53:18 -06:00
Thijs Schreijer
fe6eda1482 fix dependencies in rockspec 2013-09-16 22:12:12 +02:00
Thijs Schreijer
097dad2152 fixed bad patterns for 5.2
updated rockspec for 2.1 release
2013-09-16 22:05:29 +02:00
Thijs Schreijer
3fa19a191f removed ldoc comments 2013-09-16 17:00:38 +02:00
Thijs Schreijer
a84d84d05b added ldoc config file, and html-cleanup of help file 2013-09-15 22:13:01 +02:00
Thijs Schreijer
88fd8b175a added tests: collected samples from documentation into a test file 2013-09-14 22:17:22 +02:00
Thijs Schreijer
53b97cc350 fixed vararg usage for lua 5.1/5.2. Fixes #1 2013-09-14 22:16:37 +02:00
Thijs Schreijer
be92620a79 typos fixed 2013-09-14 21:52:37 +02:00
Thijs Schreijer
0a94ddd704 whitespace fixes 2013-09-14 21:52:21 +02:00
Thijs Schreijer
b72fdf18c8 changed indents from tabs to 2x space. 2013-09-14 21:02:16 +02:00
Thijs Schreijer
9731b08d97 copyright update 2013-05-04 21:55:35 +02:00
Thijs Schreijer
01525641b4 updated readme formatting 2013-05-04 21:43:54 +02:00
Thijs Schreijer
e3235e9339 updated version info to 2.1 2013-05-04 21:36:53 +02:00