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

Clippy failing on master : error: use of deprecated associated function chrono::NaiveDate::from_ymd: use from_ymd_opt() instead #3097

Closed
viirya opened this issue Nov 12, 2022 · 2 comments · Fixed by #3096
Labels
arrow Changes to the arrow crate bug parquet Changes to the parquet crate

Comments

@viirya
Copy link
Member

viirya commented Nov 12, 2022

Describe the bug

Clippy failing on master https://github.com/apache/arrow-rs/actions/runs/3452655275/jobs/5762703673

error: use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead
   --> arrow-array/src/timezone.rs:303:28
    |
303 |         let t = NaiveDate::from_ymd(2000, 1, 1);
    |                            ^^^^^^^^

To Reproduce

Expected behavior

Additional context

@alamb
Copy link
Contributor

alamb commented Nov 25, 2022

label_issue.py automatically added labels {'parquet'} from #3096

@alamb alamb added the parquet Changes to the parquet crate label Nov 25, 2022
@alamb
Copy link
Contributor

alamb commented Nov 25, 2022

label_issue.py automatically added labels {'arrow'} from #3096

@alamb alamb added the arrow Changes to the arrow crate label Nov 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arrow Changes to the arrow crate bug parquet Changes to the parquet crate
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants