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

Support conversions to/from datatypes in jiff time handling library #1153

Open
fiadliel opened this issue Feb 12, 2025 · 0 comments
Open

Support conversions to/from datatypes in jiff time handling library #1153

fiadliel opened this issue Feb 12, 2025 · 0 comments
Labels
priority: p3 Desirable enhancement or fix. May not be included in next release. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@fiadliel
Copy link
Contributor

jiff is a promising time (and timezone) handling crate based on the design of the Temporal JavaScript API. It is planned for a long-term 1.0 version to be released later in the year, see https://github.com/BurntSushi/jiff/releases/tag/0.2.0

I expect it to be a very important part of the library ecosystem, so it would be nice to get basic support for it, at least with relevant From/TryFrom implementations. The types I'm thinking of here are google_cloud_wkt::Duration and google_cloud_wkt::Timestamp. Due to rules on where trait implementations can be placed, probably the easiest place is to add them in this repository under a feature flag.

@fiadliel fiadliel added priority: p3 Desirable enhancement or fix. May not be included in next release. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. labels Feb 12, 2025
fiadliel added a commit to fiadliel/google-cloud-rust that referenced this issue Feb 12, 2025
…oogleapis#1153)

jiff is a promising time handling crate based on the design of the
Temporal JavaScript API. It is planned for a long-term 1.0 version
to be released later in the year.

This commit adds support for converting to and from
`jiff::SignedDuration` and `jiff::Timestamp` for version 0.2.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p3 Desirable enhancement or fix. May not be included in next release. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant