Skip to content

fix: preferences changed utc - #85

Merged
august-alt merged 3 commits into
august-alt:masterfrom
nailatik:fix/preferences-changed-utc
Aug 24, 2026
Merged

august-alt merged 3 commits into
august-alt:masterfrom
nailatik:fix/preferences-changed-utc

Conversation

@nailatik

Copy link
Copy Markdown
Contributor

Fixed the GPO change timestamp: GPUI previously stored local time in the changed attribute, although MS-GPPREF requires UTC in the YYYY-MM-DD HH:MM:SS format. As a result, gpresult displayed a timestamp N hours ahead in UTC+N. The timestamp is now generated using QDateTime::currentDateTimeUtc(). Regression tests were added, and the existing test was moved to a separate directory with only its relative paths adjusted.

@august-alt august-alt left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

I'm currently building and testing the application with this patch. I suggest you do the same, check that you can build and run current version of GPUI. And also check that patch fixes the issue we were observing earlier.

@nailatik

Copy link
Copy Markdown
Contributor Author

Fixed. Sorry, I accidentally used the clang-format on this file last time.

@august-alt
august-alt merged commit 7d71e45 into august-alt:master Aug 24, 2026
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