Skip to content

Conversation

@badge
Copy link

@badge badge commented Dec 10, 2025

Hello! This is a small PR to add DateTime<Utc> support to arrow-convert.

  • Implements the traits ArrowSerialize, ArrowDeserialize, and ArrowField for chrono::DateTime<Utc>
  • Adds a bunch of tests for the same, including ensuring a NaiveDateTime cannot be (de)serialized to a DateTime<Utc>
  • Adds chrono::DateTime<Utc> to the README

Full disclosure: actual code changes are my own; I got Claude to help out with the tests but have reviewed them all manually. Let me know what you think; I'm more than happy to make any changes you need.

- Implements the traits `ArrowSerialize`, `ArrowDeserialize`, and
  `ArrowField` for `chrono::DateTime<Utc>`
- Adds a bunch of tests for the same, including ensuring a
  `NaiveDateTime` cannot be (de)serialized to a `DateTime<Utc>`
- Adds `chrono::DateTime<Utc>` to the README
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.

1 participant