Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Apply proper default timezone for watermarks #4366

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

juliusknorr
Copy link
Member

@juliusknorr juliusknorr commented Dec 30, 2024

Nextcloud server overwrites the default php timezone in https://github.com/nextcloud/server/blob/7c59119c03c491f3534021b7011adfebf6e27b19/lib/base.php#L618

It might be historic reasons, this PR makes sure to pick up the default_timezone setting from Nextclouds config.php and set that when generating the date time for watermarking.

Signed-off-by: Julius Knorr <jus@bitgrid.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Ready to be reviewed bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant