Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

replace deprecated chrono::DateTime::from_utc#1077

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

ds-cbo
Copy link
Contributor

Fixes the test run failing inhttps://github.com/sfackler/rust-postgres/actions/runs/6589121392/job/17903210060?pr=1074 for pull request#1074

error: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead  --> postgres-types/src/chrono_04.rs:43:22   |43 |         Ok(DateTime::from_utc(naive, Utc))   |                      ^^^^^^^^   |   = note: `-D deprecated` implied by `-D warnings`error: could not compile `postgres-types` (lib) due to previous error

@ds-cbo
Copy link
ContributorAuthor

I'm sorry for the failed CI runs, but I still can't seem to make the Docker work locally to run the tests. Let's hope third time's the charm

@sfacklersfackler merged commitab23ca8 intorust-postgres:masterOct 31, 2023
@ds-cbods-cbo deleted the fix-deprecated-chrono-func branchNovember 2, 2023 09:12
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@ds-cbo@sfackler

[8]ページ先頭

©2009-2025 Movatter.jp