-
Notifications
You must be signed in to change notification settings - Fork 305
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
core: allow unix timestamp to be anchor time parameters
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.
- Loading branch information
1 parent
bab3e62
commit 0fd4d09
Showing
2 changed files
with
49 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters