apache / apache/arrow-rs

Deprecate use of NaiveDateTime in APIs

Open
#5,480 1 comment 2 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
Rust
Stars
3.6k
Forks
1.3k
Avg merge
2d 18h
Merged PRs (30d)
169

Description

**Is your feature request related to a problem or challenge? Please describe what you are trying to do.**

NaiveDateTime is hard to use correctly, and it is very easy to introduce subtle bugs.

https://github.com/chronotope/chrono/releases/tag/v0.4.35 deprecated a large number of methods on NaiveDateTime for this reason, we should follow their example

**Describe the solution you'd like**

I would like to alter these methods to return `DateTime`

**Describe alternatives you've considered**

**Additional context**

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or specific methods. Start by locating APIs that return NaiveDateTime and review the referenced chrono deprecations; done means the affected APIs return DateTime and the project’s tests and build pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
api, backend-api-design
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.