Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prefer OffsetDateTime instead of ZonedDateTime in TUF #161

Open
vlsi opened this issue Sep 21, 2022 · 2 comments
Open

Prefer OffsetDateTime instead of ZonedDateTime in TUF #161

vlsi opened this issue Sep 21, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@vlsi
Copy link
Collaborator

vlsi commented Sep 21, 2022

Description

ZonedDateTime allows dates with named timezones (e.g. Europe/Berlin) that depend on the local timezone database.
I wonder if we really need to support named time zones.

It might be slightly easier to deal with OffsetDateTime that never depends on the timezone database, and which is never subject to DST, etc.

@vlsi vlsi added the enhancement New feature or request label Sep 21, 2022
@michael-o
Copy link

I'd even say that an Instant will do the job in incur minimal overhead.

@loosebazooka
Copy link
Member

@patflynn. I believe this was intentional to support some weirdness in the sigstore specific tuf root

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants