-
Notifications
You must be signed in to change notification settings - Fork 180
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
Adds support for CldrJSONDataProvider for Dates (based on #256) #258
Conversation
e6431e1
to
3015c6d
Compare
Hooray! The files in the branch are the same across the force-push. 😃 ~ Your Friendly Jira-GitHub PR Checker Bot |
Pull Request Test Coverage Report for Build 3995b250e6517cb5e9d0754cd12e1f8b0b899761-PR-258
💛 - Coveralls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
3015c6d
to
f0d81bf
Compare
Notice: the branch changed across the force-push!
~ Your Friendly Jira-GitHub PR Checker Bot |
f0d81bf
to
6b5979b
Compare
Notice: the branch changed across the force-push!
~ Your Friendly Jira-GitHub PR Checker Bot |
6b5979b
to
9265129
Compare
Notice: the branch changed across the force-push!
~ Your Friendly Jira-GitHub PR Checker Bot |
9265129
to
0504a44
Compare
Notice: the branch changed across the force-push!
~ Your Friendly Jira-GitHub PR Checker Bot |
I think this patch is ready for review! |
Also re-run |
0504a44
to
b71df0d
Compare
Hooray! The files in the branch are the same across the force-push. 😃 ~ Your Friendly Jira-GitHub PR Checker Bot |
b71df0d
to
6777794
Compare
Notice: the branch changed across the force-push!
~ Your Friendly Jira-GitHub PR Checker Bot |
6777794
to
c35e5e8
Compare
Notice: the branch changed across the force-push!
~ Your Friendly Jira-GitHub PR Checker Bot |
c35e5e8
to
a0e6928
Compare
Hooray! The files in the branch are the same across the force-push. 😃 ~ Your Friendly Jira-GitHub PR Checker Bot |
a0e6928
to
929674d
Compare
Notice: the branch changed across the force-push!
~ Your Friendly Jira-GitHub PR Checker Bot |
929674d
to
81a49a0
Compare
Notice: the branch changed across the force-push!
~ Your Friendly Jira-GitHub PR Checker Bot |
true | ||
} | ||
} | ||
matches_width(&self.abbreviated, &other.abbreviated) && |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider:
(other.abbreviated.is_none() || Some(self.abbreviated) == other.abbreviated)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Applied!
.take_payload() | ||
.unwrap(); | ||
|
||
println!("{:#?}", cs_dates); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What happens to println!
in tests?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed!
7f05668
to
f9f693a
Compare
Notice: the branch changed across the force-push!
~ Your Friendly Jira-GitHub PR Checker Bot |
|
||
impl PartialEq<cldr_json::$name::StandAloneWidths> for cldr_json::$name::FormatWidths { | ||
fn eq(&self, other: &cldr_json::$name::StandAloneWidths) -> bool { | ||
other.abbreviated.is_none() || Some(&self.abbreviated) == other.abbreviated.as_ref() && |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you need some more ()
due to order of operations.
Can you add a test case for this behavior?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I remodelled it to bring a bit more unaliasing via ability to skip widths based on if they differ in stand_alone
, and added a unit test.
f9f693a
to
7bef1db
Compare
Notice: the branch changed across the force-push!
~ Your Friendly Jira-GitHub PR Checker Bot |
This is my WIP on the CLDRJsonDataProvider on top of #256
This is waiting for resolution in #257 and on #256, so I'm going to start it as a draft here.