1
0
mirror of https://github.com/bspeice/dtparse synced 2024-11-15 02:18:12 -05:00
Commit Graph

82 Commits

Author SHA1 Message Date
3a9e2674a6 #40: Nanosecond precision 2023-03-25 02:12:57 +00:00
028c45e3fe Fix #32 and #33 2021-08-23 22:36:03 -04:00
Bryan Henry
61d3ed025e Delete unused chrono-tz dependency 2021-06-03 19:45:47 -07:00
Chris Gillespie
bf456f466f Handle panic from large integers 2020-10-04 16:26:50 -07:00
f1ca602e9f Properly handle no date content being found 2020-06-11 15:00:37 -04:00
a08bb2d9d7 Add fixes for dateutil/dateutil#822 2020-06-11 13:59:07 -04:00
b098f54f8b Convert clippy lints 2020-06-11 13:33:09 -04:00
61022c323e Cargo fmt 2020-06-11 13:11:52 -04:00
bspeice
245f746c8c
Merge pull request #24 from bspeice/panic_fuzzing
Fix #21
2020-06-11 12:23:10 -04:00
Matthieu Guilbert
e895fbd9f3 Implement Error trait for ParseError 2020-06-11 23:29:37 +08:00
2a2f1e7fbd Fix #21 2020-05-29 14:23:54 -04:00
d6fc72459e Mark unused 2019-11-29 18:19:13 -05:00
d7ff381d7f Bugfix 2019-11-29 17:58:40 -05:00
d5e0a5d46a Remove timezone handling
There are too many issues in chrono-tz to make it worth supporting.
2019-11-29 16:49:29 -05:00
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
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
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
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
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