Commit graph

91 commits

Author SHA1 Message Date
Jesse Gumm
b8a5075026 Version => 0.5.0 2019-08-21 11:23:32 -05:00
Pavel Abalikhin
7314545b34 Stacktrace workaround for compatibility with OTP 21 2018-12-24 13:01:41 +03:00
LoudFerret
67ee655bbb fixed issue https://github.com/choptastic/qdate/issues/36 2018-08-07 20:07:51 +02:00
Jesse Gumm
1cccb8392a Add support for named days of the week in beginning_week 2018-02-04 12:21:47 -06:00
Jesse Gumm
628c87557a Removing io:format left over from debuggin 2018-01-06 12:07:39 -06:00
Jesse Gumm
dd38e5cf98 Unexport fix_year_month. Was for testing only. 2018-01-06 12:05:08 -06:00
Jesse Gumm
99e55979dc Fix add_month(-12, January). Add more tests. Fixes #35 2018-01-06 12:03:26 -06:00
Pavel Abalikhin
31e123d9f1 Rename floor/1 to flooring/1
Fix for Erlang/OTP 20
2017-11-22 12:33:15 +03:00
Jesse Gumm
bab222aeb4 Fix adding months to date that ends in dec following year 2017-09-29 15:18:02 -05:00
Jesse Gumm
aa114b1ef8 Add end_week/[0-2] and beginning_week/0 2017-01-04 19:22:21 -06:00
Jesse Gumm
6fadc548d2 Update readme. Add some sanity guards on beginning_week 2017-01-04 15:58:27 -06:00
Jesse Gumm
d7267a7d67 Add sunday test to beginning_week 2017-01-04 15:53:16 -06:00
Jesse Gumm
ef5c9cfbb6 Add beginning_week/[1-2] 2017-01-04 15:45:33 -06:00
LIB53
af9cb4dc4b Use qdate_localtime in app.src 2016-07-14 15:41:48 -05:00
Jesse Gumm
7230f747e7 Update readme, Ensure sort can crash with option 2016-06-17 17:11:29 -05:00
Jesse Gumm
2a85d5d92f Add sort/[1-3] 2016-06-17 16:49:22 -05:00
Jesse Gumm
2dfcc52dd5 New config opt for default_timezone with fun 2016-05-31 18:46:02 -05:00
Jesse Gumm
366bc5e8d5 Fix beginning_day with different timezone 2016-05-19 03:56:43 +00:00
Jesse Gumm
4d42f5eddf Fix broken beginning_minute/1 2016-04-20 19:36:06 -05:00
Jesse Gumm
e413fcbf56 Add end_X/[0,1] functions. 2016-04-18 20:02:34 -05:00
Jesse Gumm
66e9dc6ae9 get_timezone should return default tz if not set 2016-04-14 11:20:50 -05:00
Jesse Gumm
795b3d8961 Add some between tests with the relative tests 2016-04-13 19:39:30 -05:00
Jesse Gumm
b550391a4e Add tests for relative parser 2016-04-13 19:38:04 -05:00
Jesse Gumm
6d88edea06 get rid of export_all (from testing) 2016-04-13 23:13:49 +00:00
Jesse Gumm
ff6b7139ca Fix relative calculation with improper timezone 2016-04-13 23:12:45 +00:00
Jesse Gumm
bb934b522f Fix relative parsing 2016-03-07 05:48:56 +00:00
Jesse Gumm
3564470578 Merge branch 'relative' of git://github.com/choptastic/qdate 2016-03-07 05:27:23 +00:00
Jesse Gumm
1ea2cadb1a Fix relative parser 2016-03-05 16:26:58 -06:00
Jesse Gumm
41b313d425 Add relative date/time parsing parser. 2016-03-05 15:16:03 -06:00
Jesse Gumm
5d73286e92 Allow a custom parser to return a unix timestamp 2016-03-05 13:52:02 -06:00
Jesse Gumm
5e43673c34 Add before and after as operators 2016-03-05 13:51:45 -06:00
Jesse Gumm
6036208bb5 Add test for #22.
Fixed in erlang_localtime (c0c4e3e)
2016-03-01 00:12:23 -06:00
Jesse Gumm
569c7db56b Rework between/3, and add between/5 2016-02-24 13:09:33 -06:00
Jesse Gumm
69967d71ff Add initial experiment with between/[2,3] 2016-02-24 11:09:28 -06:00
Jesse Gumm
7910de376e Merge branch 'master' of github.com:choptastic/qdate
Conflicts:
	rebar.config
2016-01-31 09:10:19 -06:00
Jesse Gumm
2d40869c1a Add some tests for new tz_database changes 2016-01-31 09:07:54 -06:00
Jesse Gumm
d73a31e664 Add beginning_X/0 variations 2015-11-07 11:39:24 -06:00
Jesse Gumm
6ca6037f29 Add beginning_X functions with documentation
* Still need tests
2015-11-07 11:33:16 -06:00
Jesse Gumm
647e26db15 Update copyright notice on qdate.erl 2015-11-06 17:04:55 -06:00
Jesse Gumm
b1387c08c0 Add range functions
* Documentation needed
2015-11-06 17:03:16 -06:00
Jesse Gumm
a504a6adfc Update rebar.config back to choptastic/erlang_localtime
*temporary* until a commit is merged
2015-11-05 11:31:38 -06:00
Matthias Wahl
52770185f9 fix date parse compatibility with ec_date
as it turns out ec_dates datetime() type can also be {{Y,M,D},{H,M,S,Ms}} which was not yet covered
2015-10-14 16:18:16 +02:00
Jesse Gumm
7ab98975d8 Merge branch 'appsrc-fix' of git://github.com/project-fifo/qdate into project-fifo-appsrc-fix 2015-07-27 14:03:59 -05:00
Heinz N. Gies
15ded5317f added missing applications to app.src 2015-07-27 15:58:38 +02:00
Jesse Gumm
d6ec97246f Merge branch 'master2' into rebar3 2015-07-26 08:35:36 -05:00
Jesse Gumm
b71173dc65 version bump 2015-07-26 08:34:12 -05:00
Heinz N. Gies
5387ec8f02 rebar3 and hex. 2015-07-25 20:21:07 +02:00
Alejandro M. Ramallo
c3b490ec52 Removed io:format/2 call from try_parsers/2.
Something that was left during debugging I guess ;-)
2015-07-09 16:54:23 +01:00
Jesse Gumm
eeb797e1f8 Bump to 0.4.0 2015-04-30 14:49:24 -05:00
Jesse Gumm
6d7a031d46 Add clarification comments at the top of qdate_srv 2015-04-30 14:48:47 -05:00