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

core: allow unix timestamp to be anchor time parameters #1733

Merged
merged 1 commit into from
Dec 5, 2024

Conversation

brharrington
Copy link
Contributor

Updates the date and range parsing to allow a unix timestamp value to be an absolute time anchor for the time parameters. This is mostly a convenience if generating the parameters via substitution, but there is a need to have some offset.

For now the ISO date time patterns do not support the offset behavior. The parsing is trickier because they already use - for the year-month-day as well as for time zone offsets.

Updates the date and range parsing to allow a unix timestamp
value to be an absolute time anchor for the time parameters.
This is mostly a convenience if generating the parameters via
substitution, but there is a need to have some offset.

For now the ISO date time patterns do not support the offset
behavior. The parsing is trickier because they already use
`-` for the year-month-day as well as for time zone offsets.
@brharrington brharrington added this to the 1.8.0 milestone Dec 4, 2024
@brharrington brharrington merged commit af77996 into Netflix:main Dec 5, 2024
5 checks passed
@brharrington brharrington deleted the epoch-anchor branch December 5, 2024 00:33
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.

1 participant