Skip to content

Conversation

@Benzhaomin
Copy link
Contributor

@Benzhaomin Benzhaomin commented Dec 10, 2024

Default is still to use the first and last known timestamps:

Screenshot 2024-12-10 at 14 39 22

Custom dates can be set for either:

Screenshot 2024-12-10 at 14 40 17

dss-plugin-timeseries-preparation-2.1.0.zip

@Benzhaomin Benzhaomin added the enhancement New feature or request label Dec 10, 2024
@Benzhaomin Benzhaomin requested a review from tmwly December 10, 2024 13:46
@Benzhaomin Benzhaomin self-assigned this Dec 10, 2024
Copy link
Contributor

@tmwly tmwly left a comment

Choose a reason for hiding this comment

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

lgtm, tested and working - just one comment about release notes

@nicolasdalsass
Copy link
Contributor

Let's go ahead here ?

@Benzhaomin Benzhaomin requested a review from tmwly January 10, 2025 15:41
Copy link
Contributor

@tmwly tmwly left a comment

Choose a reason for hiding this comment

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

Overall lgtm

Weirdly, opening a resampling recipe now always dirties the save, which didn't seem to be the case before

Also, maybe we should have a quick sentence explaining what we do in _can_customize_resampling_dates for anyone in a +-13 tz ?

… favoring UTC+13 (NZDT) over UTC-11 (American Samoa), also add a warning about that behavior in the recipe logs
@Benzhaomin
Copy link
Contributor Author

Benzhaomin commented Jan 22, 2025

Overall lgtm

Weirdly, opening a resampling recipe now always dirties the save, which didn't seem to be the case before

Logged internally as this is common to all plugins with a date input

Also, maybe we should have a quick sentence explaining what we do in _can_customize_resampling_dates for anyone in a +-13 tz ?

We now favour UTC+13 and only have unexpected behaviour in UTC-11 (American Samoa). Code is well commented and a warning is added in the logs in that case.

@Benzhaomin Benzhaomin requested a review from tmwly January 24, 2025 07:24
Copy link
Contributor

@tmwly tmwly left a comment

Choose a reason for hiding this comment

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

LGTM! nice work on the timestamp stuff

think we need to merge the changelog but otherwise all clear

@Benzhaomin Benzhaomin merged commit 4a3ef72 into master Jan 24, 2025
@Benzhaomin Benzhaomin deleted the feat/v210-resampling-custom-extrapolation-dates branch January 24, 2025 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants