Skip to content

operations: Respect timezone of committer in UserApplyPatch

Patrick Steinhardt requested to merge pks-operations-apply-patch-timezone into master

When applying a patch via UserApplyPatch we use the user's credentials as committer information. While we also use the user's timestamp if passed to us, we fail to respect the user's timezone as configured in their settings.

Fix this by using dateFromProto(), which knows to extract the timezone of the user. Introduce a new feature flag which guards the new code given that this is changes the current behaviour and thus leads to different commit IDs.

Changelog: fixed

Closes #3711 (closed)

Merge request reports

Loading