1
0
mirror of https://github.com/bspeice/dtparse synced 2024-11-09 23:48:10 -05:00
Commit Graph

148 Commits

Author SHA1 Message Date
Bradlee Speice
44e37b364c Much simpler API surface
And getting rid of the dumb "internal" error type
2018-07-24 23:28:38 -04:00
Bradlee Speice
c6feaebe71 tokenize shouldn't be public 2018-07-24 22:47:22 -04:00
Bradlee Speice
0d18eb524b Remove fuzzing, add CONTRIBUTING/CONTRIBUTORS 2018-07-24 22:41:56 -04:00
Bradlee Speice
848f1b9249 Release 0.9.1 2018-07-19 23:05:03 -04:00
bspeice
87ada05bac
Merge pull request #14 from mjmeehan/master
Fix parser crash on bogus data in third field after separator
2018-07-19 18:06:53 -04:00
Mike Meehan
e1c7c8424a Improve error message to match dateutil 2018-07-18 23:03:53 -04:00
Mike Meehan
4acd072974 Fix typo in the fuzzer script 2018-07-18 22:38:02 -04:00
Mike Meehan
ac95e9e8c3 Add fuzzing, find and fix a parser bug. 2018-07-18 22:27:29 -04:00
Mike Meehan
fecba852d1 Use ends_with in some places 2018-07-18 20:34:14 -04:00
bspeice
fe0a0ea3a7
Merge pull request #12 from bspeice/fuzzy_dates
Fuzzy dates
2018-07-08 22:05:15 -04:00
Bradlee Speice
41d7194898 Merge branch 'master' into fuzzy_dates 2018-07-08 22:01:14 -04:00
Bradlee Speice
ac920949d2 Fuzzy mode is now tested 2018-07-08 21:54:28 -04:00
Bradlee Speice
d55e67830f All tests are working! 2018-07-08 21:51:02 -04:00
Bradlee Speice
5152ced2f1 One last test case, then version 0.9! 2018-07-08 21:31:18 -04:00
Bradlee Speice
9008ee8339 Regenerate tests
Need to make this automated
2018-07-08 21:16:43 -04:00
Bradlee Speice
c038178583 testFuzzyAMPMProblem is causing us issues 2018-07-08 15:23:51 -04:00
Bradlee Speice
c954a533c3 It's working!
Still need to add more tests, but I think we're mostly good to go
2018-07-08 15:11:29 -04:00
Bradlee Speice
e049618fff Redo the tokenization
Still has issues with one test case for fuzzy
2018-07-08 14:30:48 -04:00
bspeice
8b0248e7bb
Merge pull request #10 from messense/fix-issue-9
Use from_hms_micro_opt instead of from_hms_micro
2018-07-03 23:23:46 -04:00
bspeice
57b6b16de5
Merge pull request #11 from messense/rust_decimal-upgrade
Upgrade rust_decimal to 0.9
2018-07-03 19:06:12 -04:00
messense
b3a1340574 Upgrade rust_decimal to 0.9 2018-07-03 16:44:09 +08:00
messense
e300e447b1 Use from_hms_micro_opt instead of from_hms_micro
Fixes #9
2018-07-03 16:38:42 +08:00
Bradlee Speice
9135962839 Lots of fixes, but it turns out tokenization is broken 2018-07-03 01:02:27 -04:00
Bradlee Speice
2b90bf6ed7 ...I may be an idiot. 2018-07-02 23:00:45 -04:00
Bradlee Speice
c566c5b7c8 Remove an extraneous TODO 2018-07-02 22:54:20 -04:00
Bradlee Speice
79ac26e07f Fuzzy tests are failing already... 2018-07-02 22:49:05 -04:00
Bradlee Speice
d7b3c33567 Don't track pyc 2018-07-02 22:23:55 -04:00
bspeice
f0c3d8998d
Merge pull request #8 from bspeice/tokenize_split
Move tokenize code
2018-06-29 23:10:10 -04:00
Bradlee Speice
f493c00ce2 Move tokenize code 2018-06-29 23:04:10 -04:00
bspeice
9423a1c0a2
Merge pull request #7 from bspeice/fuzzing_fix
Fixes #6
2018-06-29 22:55:57 -04:00
Bradlee Speice
41d8b99be9 Fixes #6
Pretty ugly workaround, there's likely a safer alternative.
2018-06-29 22:50:39 -04:00
bspeice
73a7acad85
Merge pull request #5 from bspeice/unwrap_panic
Fix #2
2018-06-25 23:13:01 -04:00
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
24816dc3ea Fix #2 2018-06-25 23:08:03 -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