Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge 0.4.x #1169

Merged
merged 75 commits into from
Jul 24, 2023
Merged

Merge 0.4.x #1169

merged 75 commits into from
Jul 24, 2023

Conversation

pitdicker
Copy link
Collaborator

@pitdicker pitdicker commented Jul 5, 2023

A lot of difficult merge conflicts in format/parse.rs.

domodwyer and others added 30 commits June 8, 2023 17:13
This changes the "don't use me" panic into an error when using the
parsing-only "%#z" formatter, consistent with other invalid formatters.
Add parse tests focused on timezone siganges "+", "-", and
bad offsets
Replace test `test_tz_ascii_str` with more systemtatic test
`test_timezonename_new`.
Function `timezone_offset_internal` and `TimeZoneName::new`
iterate over the input data by `chars()` instead of iterating
`as_bytes()`.
Timezone signage also allows MINUS SIGN (U+2212) as
specified by ISO 8601 and RFC 3339.

Not for RFC 2822 format or RFC 8536 transition string.

Issue chronotope#835
`3:00:59 + 60s = 3:01:59`, not `3:02:00`
Co-authored-by: Yuxuan Shui <yshuiv7@gmail.com>
Factor out formatting to `format/formatting.rs`
@pitdicker pitdicker mentioned this pull request Jul 17, 2023
DarkWanderer and others added 8 commits July 17, 2023 13:53
No functional change but makes this file self-consistent and consistent with the Dependabot docs.
Add more varying testing for most parsing functions.
Tests emphasize whitespace, literals, timezones, and timezone
delimiters (colons and whitespace).

Add tests for multiple-byte characters and combining characters
in and around data and parsing formats.

These tests are added to aid humans verifying the next commit that
changes parsing behavior.

Issue chronotope#660
@pitdicker pitdicker marked this pull request as ready for review July 17, 2023 12:09
@djc djc merged commit 3e2e611 into chronotope:main Jul 24, 2023
33 checks passed
@djc
Copy link
Contributor

djc commented Jul 24, 2023

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

10 participants