Skip to content

Conversation

rezib
Copy link
Collaborator

@rezib rezib commented Sep 30, 2025

The RPM library change the timezone when parsing spec file but old versions of this library (<4.19) miss to restore the timezone properly. This has the side effect to change the timezone for the end of Rift execution, which could lead to weird behavior when parsing or manipulating dates and times. In order to workaround this, Rift now saves and restores the timezone itself, just to make sure everything is in order after parsing the spec file.

The RPM library change the timezone when parsing spec file but old
versions of this library (<4.19) miss to restore the timezone properly.
This has the side effect to change the timezone for the end of Rift
execution, which could lead to weird behavior when parsing or
manipulating dates and times. In order to workaround this, Rift now
saves and restores the timezone itself, just to make sure everything is
in order after parsing the spec file.
@rezib rezib force-pushed the pr/fix-rpm-parse-tz-bug branch from 5adcf71 to fd265e0 Compare September 30, 2025 14:25
@rezib rezib requested review from qa-cea and valeriyoann September 30, 2025 14:47
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.

2 participants