Skip to content

Use time::PrimitiveDateTime instead of time::OffsetDateTime #321

@sorairolake

Description

@sorairolake

zip::DateTime does not hold a time zone. So I think it is better to use time::PrimitiveDateTime, which does not hold a time zone, rather than time::OffsetDateTime, which holds a time zone. If necessary, we can convert PrimitiveDateTime to OffsetDateTime using a method such as assume_utc.

Also, this crate uses chrono::NaiveDateTime instead of chrono::DateTime<chrono::Utc>.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions