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

92 Commits

Author SHA1 Message Date
b925b968ca Fix deprecations 2023-03-25 02:29:55 +00:00
3a9e2674a6 #40: Nanosecond precision 2023-03-25 02:12:57 +00:00
4d8ade4b05 #36: Add test to assert no longer panics 2022-06-15 22:20:37 -04:00
6a88885ef5 #35: Add test to make sure it does not panic 2022-06-15 22:18:20 -04:00
a193a79afa Add a test for issue 34 2022-06-15 22:16:15 -04: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
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