1
0
mirror of https://github.com/bspeice/dtparse synced 2024-12-22 20:38:09 -05:00
Commit Graph

65 Commits

Author SHA1 Message Date
bspeice
45cfc8a30e
Merge pull request #4 from messense/messense-patch-1
Fix repository URL in Cargo.toml
2018-06-25 23:09:17 -04:00
Bradlee Speice
4b92fe9123 Nicer derefs 2018-06-25 22:16:34 -04:00
messense
77eea20ecf
Fix repository URL in Cargo.toml 2018-06-26 10:02:15 +08:00
Bradlee Speice
2758c66946 Release 0.8.0 2018-06-25 21:46:27 -04:00
bspeice
c6f753261d
Merge pull request #3 from markcol/match
Convert if/else block in resolve_ymd to use match()
2018-06-25 21:34:55 -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
065eba823b I know Markdown syntax. 2018-06-24 23:56:06 -04:00
Bradlee Speice
05c8a99a8e New feature support! 2018-06-24 23:55:14 -04:00
Bradlee Speice
1a42dc2950 Remove a TODO already accounted for 2018-06-24 23:54:23 -04:00
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