Skip to content

date: fix UTC keyword with relative seconds across DST (#12555)#12749

Draft
sylvestre wants to merge 1 commit into
uutils:mainfrom
sylvestre:date-utc-relative-dst-12555
Draft

date: fix UTC keyword with relative seconds across DST (#12555)#12749
sylvestre wants to merge 1 commit into
uutils:mainfrom
sylvestre:date-utc-relative-dst-12555

Conversation

@sylvestre

Copy link
Copy Markdown
Contributor

Bump parse_datetime to 0.15 (which anchors a fixed offset before relative items) and migrate date/touch to its ParsedDateTime API. Add a regression test asserting that "1970/01/01 UTC N seconds" is exactly N seconds past the epoch in a DST-observing zone.

just WIP
needs a new release of parse_datetime

Bump parse_datetime to 0.15 (which anchors a fixed offset before
relative items) and migrate date/touch to its ParsedDateTime API.
Add a regression test asserting that "1970/01/01 UTC N seconds"
is exactly N seconds past the epoch in a DST-observing zone.
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