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

Add parse-datetime crate #875

Merged
merged 1 commit into from
Mar 27, 2020
Merged

Conversation

zmrow
Copy link
Contributor

@zmrow zmrow commented Mar 26, 2020

Issue number:
Related to #596

Description of changes:
As part of the issue above, we'd like to have a few files that define some default update wave structures. In those files, we'd like to use the nice interface for dates as tuftool uses. It's nice to type out 'in 7 days' rather than the full RFC3339 date.

This crate doesn't contain any new code (except for the few tests); it's pulled from tuftool for now as I'd rather not depend on tuftool just for this specific functionality (it's not pub anyway). We can decide at a later time if we would like to publish this crate.

Testing done:
All unit tests pass.

Terms of contribution:

By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.

@zmrow zmrow requested review from bcressey and sam-aws March 26, 2020 22:25
@zmrow zmrow self-assigned this Mar 26, 2020
sources/parse-datetime/Cargo.toml Show resolved Hide resolved
@zmrow
Copy link
Contributor Author

zmrow commented Mar 27, 2020

Rebased on develop and address @bcressey 's comment

Copy link
Contributor

@sam-aws sam-aws left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📆

@bcressey
Copy link
Contributor

⌛️

@zmrow zmrow merged commit 24f3fc3 into bottlerocket-os:develop Mar 27, 2020
@zmrow zmrow deleted the datetime-crate branch March 27, 2020 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants