1
0
mirror of https://github.com/bspeice/dtparse synced 2024-11-12 17:08:09 -05:00
Commit Graph

42 Commits

Author SHA1 Message Date
Bradlee Speice
4b92fe9123 Nicer derefs 2018-06-25 22:16:34 -04:00
Mark H. Colburn
60879fd0fd Remove dmy! macro. 2018-06-25 12:22:59 -07:00
Mark H. Colburn
37eefb2320 Refactor match statement in resolve_ymd. 2018-06-25 11:56:24 -07:00
Mark H. Colburn
f819ec8e40 Refactor if logic for resolve_ymd. 2018-06-25 10:49:30 -07:00
Mark H. Colburn
d7031ee279 Added dmy! macro. 2018-06-25 10:12:08 -07:00
Bradlee Speice
d76e1b4b91 Weekday support 2018-06-24 23:53:33 -04:00
Bradlee Speice
7d565d3a78 Ignore tests needing relativedelta 2018-06-17 22:55:48 -04:00
Bradlee Speice
132fe314d5 Fix another tokenization issue 2018-06-17 22:41:21 -04:00
Bradlee Speice
8787e321e2 Continuing to clean up tests 2018-06-17 22:39:06 -04:00
Bradlee Speice
965aed40e3 Fix some default leap-year issues 2018-06-17 21:43:43 -04:00
Bradlee Speice
e4c49b2bb2 Use python codegen to generate the tests
And you know, hopefully don't delete the script next time.
2018-06-12 22:22:30 -04:00
Bradlee Speice
71f8cda588 Handle fractional minutes correctly 2018-06-08 00:06:37 -04:00
Bradlee Speice
921b449c1c We're so close to passing! 2018-06-07 23:49:11 -04:00
Bradlee Speice
3a17e14d42 tzinfos isn't Vec<String> 2018-06-07 23:17:23 -04:00
Bradlee Speice
b0e737f088 println in lib code is uncool. 2018-06-03 23:56:17 -04:00
Bradlee Speice
08a781175e A lot of ignoretz is working!
TZ support in Rust kinda sucks though.
2018-06-03 23:48:56 -04:00
Bradlee Speice
451aa2aeb5 Fix yearfirst/dayfirst support 2018-06-03 16:11:51 -04:00
Bradlee Speice
d49a12d947 Add a lot of tests
And fix up some transcription errors
2018-05-29 23:41:40 -04:00
Bradlee Speice
709b38926d Clean up the tests a good bit 2018-05-29 21:07:22 -04:00
Bradlee Speice
8c1a1a7928 More tests! 2018-05-28 13:59:53 -04:00
Bradlee Speice
23865d64dd Continue adding tests 2018-05-28 13:21:34 -04:00
Bradlee Speice
1cb981b8f6 Some more complex tests 2018-05-28 12:28:49 -04:00
Bradlee Speice
e4d9257305 THE TEST CASES ARE PASSING!!! 2018-05-28 11:03:11 -04:00
Bradlee Speice
55c164d4f9 Starting to work on fixes 2018-05-28 00:36:54 -04:00
Bradlee Speice
1488fbaeca Final test structure in place
Lots of panics (as expected), but it's coming together.
2018-05-27 22:26:30 -04:00
Bradlee Speice
a1d83b775d Add some extra split test cases 2018-05-27 14:23:53 -04:00
Bradlee Speice
17b8b8af36 Move tests to pyo3
Codegen wasn't doing much for me
2018-05-27 13:51:23 -04:00
Bradlee Speice
b2626d971a Flesh out the rest of the methods 2018-05-26 22:40:32 -04:00
Bradlee Speice
04421ebde0 First pass done!!! 2018-05-26 20:14:30 -04:00
Bradlee Speice
de47318411 Baby steps 2018-05-25 00:00:15 -04:00
Bradlee Speice
9648f48896 Couple more minor cleanups 2018-05-24 22:31:08 -04:00
Bradlee Speice
ec41f11d98 Use Datetime<FixedOffset> 2018-05-24 22:29:29 -04:00
Bradlee Speice
205f75995e Remove the Token enum
Ended up not being that helpful
2018-05-24 22:29:29 -04:00
Bradlee Speice
c3abcd4a55 Add an auto-generated header 2018-05-23 23:11:20 -04:00
Bradlee Speice
b1f8cd77ee Set up Python parse compat 2018-05-23 23:01:00 -04:00
Bradlee Speice
6a2c0a6304 Starting on the structure for final parse 2018-05-23 21:53:50 -04:00
Bradlee Speice
ef3bd59959 Minor TODO 2018-05-18 23:58:28 -04:00
Bradlee Speice
184dd9f25c Add the _ymd class
Worst of it is yet to come
2018-05-18 23:50:53 -04:00
Bradlee Speice
5beff61366 Add ParserInfo struct 2018-05-17 22:56:46 -04:00
Bradlee Speice
58e3b05b45 Add a Python dateutil compat test 2018-05-17 00:31:57 -04:00
Bradlee Speice
af0908c3cc Add tokenization from Dateutil 2018-05-15 00:50:14 -04:00
Bradlee Speice
9ab5a3d5e3 Initial structure 2018-05-13 16:18:45 -04:00