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

53 Commits

Author SHA1 Message Date
Bradlee Speice
d76e1b4b91 Weekday support 2018-06-24 23:53:33 -04:00
Bradlee Speice
2c648a6401 Use lazy-static 1.0 2018-06-17 23:32:28 -04:00
Bradlee Speice
7bb02a7648 Licensing/docs updates 2018-06-17 23:31:25 -04:00
Bradlee Speice
e54977ee97 Get the README updated with what's needed before 1.0 2018-06-17 23:21:11 -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
51ed3ecf73 Add a bunch more tests
Failing currently, but still making progress.
We're essentially at a releasable point I think.
2018-06-13 00:21:36 -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
e017018295 Try setting python version top-level 2018-06-08 23:53:57 -04:00
Bradlee Speice
d033001688 Pyo3 needs 3.5 2018-06-08 23:49:02 -04:00
Bradlee Speice
445464a3c0 Try pip install --user 2018-06-08 23:44:50 -04:00
Bradlee Speice
4db4b265cf Need sudo to install Pip 2018-06-08 23:42:39 -04:00
Bradlee Speice
270efd31f1 Fix dateutil name 2018-06-08 23:40:26 -04:00
Bradlee Speice
667ad8be1d set -u is unusable 2018-06-08 23:38:54 -04:00
Bradlee Speice
1e9a0c3bd1 First attempt at .travis.yml 2018-06-08 23:37:31 -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
a00156780d Give rust the same info as dateutil 2018-06-07 23:20:38 -04:00
Bradlee Speice
3a17e14d42 tzinfos isn't Vec<String> 2018-06-07 23:17:23 -04:00
bspeice
78b4d95b16
Create LICENSE 2018-06-04 22:23:45 -04:00
bspeice
8d2960e127
Create README.md 2018-06-04 22:21:29 -04:00
Bradlee Speice
78ad8f2b94 Use much more concise macros
Compile time down from ~2 minutes to ~2 seconds.
2018-06-04 20:23:34 -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
037fe30ffc Fix things up after merge 2018-05-24 22:29:58 -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