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

Backport to 2.15.x: #6908: Fix gapfill behaviour around dst switches #6914

Merged
merged 1 commit into from
May 14, 2024

Conversation

timescale-automation
Copy link

This is an automated backport of #6908: Fix gapfill behaviour around dst switches.
The original issue is #6788.
This PR will be merged automatically after all the relevant CI checks pass. If this fix should not be backported, or will be backported manually, just close this PR. You can use the backport branch to add your changes, it won't be modified automatically anymore.

For more details, please see the documentation

Original description

Fix gapfill behaviour around dst switches

When advancing local time we might not actually advance the timestamp we process e.g. when we switch to DST in spring the local time advances by 1 hour but the UTC time stays the same. Therefore we need to keep advancing until we actually move forward.

Fixes: #6788

When advancing local time we might not actually advance the
timestamp we process e.g. when we switch to DST in spring
the local time advances by 1 hour but the UTC time stays the same.
This patch changes the advance function to only advance in local
time when we are dealing with non-fixed intervals, that is intervals
that have a day or month component.

(cherry picked from commit 9c86369)
@timescale-automation timescale-automation added the is-auto-backport PR created by backport automation label May 13, 2024
@timescale-automation timescale-automation enabled auto-merge (rebase) May 13, 2024 11:42
@svenklemm svenklemm disabled auto-merge May 14, 2024 06:39
@svenklemm svenklemm merged commit 1317e32 into 2.15.x May 14, 2024
34 of 36 checks passed
@svenklemm svenklemm deleted the backport/2.15.x/6908 branch May 14, 2024 06:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
is-auto-backport PR created by backport automation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants