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

74 Commits

Author SHA1 Message Date
b81a8d9541 Use 1.28 as minimum Rust version 2019-11-25 20:57:56 -05:00
030ca4fced Rustfmt 2019-11-13 23:18:37 -05:00
142712900f Attempt to read timezones from chrono-tz 2019-11-13 23:12:47 -05:00
741afa3451 Remove a last println and use a static default parser
Heap profilers are fun
2018-09-17 23:14:50 -04:00
4d7c5dd995 Now with 100% more WASM!
Version bump and README update
2018-08-14 22:49:24 -04:00
Bradlee Speice
b5fa1d89ef Fix new tests not being date-neutral 2018-08-11 10:38:46 -04:00
Bradlee Speice
246b389ac9 Clippy caught a bug
And now I have test cases for it!
2018-08-10 23:24:02 -04:00
Bradlee Speice
4d48885f4b Add old rust versions to test agains 2018-08-10 22:15:27 -04:00
Bradlee Speice
28b7bec91d Add a custom parsing example in Russian 2018-08-03 23:40:54 -04:00
Bradlee Speice
0d3b646749 Add notes on codegen, and regenerate 2018-08-03 21:56:32 -04:00
Bradlee Speice
8f8ba7887a Write ALL the documentation! 2018-08-01 23:27:49 -04:00
Bradlee Speice
256f937742 Add some initial crate documentation
Element documentation next!
2018-07-30 23:33:46 -04:00
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
Mike Meehan
e1c7c8424a Improve error message to match dateutil 2018-07-18 23:03:53 -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
Bradlee Speice
41d7194898 Merge branch 'master' into fuzzy_dates 2018-07-08 22:01:14 -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
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
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
Bradlee Speice
41d8b99be9 Fixes #6
Pretty ugly workaround, there's likely a safer alternative.
2018-06-29 22:50:39 -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
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