Skip to content

[18.0][FIX] hr_holidays_leave_repeated: handle DST timezones#235

Open
remi-filament wants to merge 1 commit intoOCA:18.0from
lefilament:18.0-fix-hr_holidays_leave_repeated
Open

[18.0][FIX] hr_holidays_leave_repeated: handle DST timezones#235
remi-filament wants to merge 1 commit intoOCA:18.0from
lefilament:18.0-fix-hr_holidays_leave_repeated

Conversation

@remi-filament
Copy link
Copy Markdown
Contributor

Before this fix, when using a timezone with DST and trying to repeat holidays over a period where DST changed (for instance if you want to repeat a holiday every friday over the full year), you would only get holidays before DST changed and after it was set back to original value.

This PR fixes that behaviour and adds corresponding tests (which were failing before the fix and solved afterwards)

@remi-filament
Copy link
Copy Markdown
Contributor Author

Hi @hailangvn do you mind having a look at this PR ?

Copy link
Copy Markdown
Contributor

@hailangvn hailangvn left a comment

Choose a reason for hiding this comment

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

LGTM. Thank you.

@OCA-git-bot
Copy link
Copy Markdown
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants