Skip to content

replace from_timestamp by from_timestamp_opt #2892

@waitingkuo

Description

@waitingkuo

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

from_timestamp will be deprecated since chrono 0.4.23
https://github.com/chronotope/chrono/blob/main/src/naive/datetime/mod.rs#L117

Describe the solution you'd like

use from_timestamp_opt instead

Describe alternatives you've considered

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    arrowChanges to the arrow crateenhancementAny new improvement worthy of a entry in the changelog

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions