Set timezone in base.php on ownCloud 10.0.4

modifications

#1

I want to change the timezone in the base.php on ownCloud 10.0.4, but when I change it, the integrity check fails and I am locked out of ownCloud. I tried to exclude the base.php file with:
'integrity.excluded.files' =>
array (
'lib/base.php',
),
but it did not work.

How do I change the base.php timezone from the default of UTC?


#2

Why do you want to change the timezone?


#3

The ownBackup app shows dates in UTC. When I changed the timezone setting from UTC to my timezone in base.php on version 10.0.3, the times showed correctly.

In general I'm very confused about timezone settings in ownCloud. My timezone is set in php. What is the timezone setting in base.php used for?


#4

It is system design best practice to run an international used service with UTC, store and communicate all date times in UTC and let the user facing components render dates to the corresponding timezone.

I'd say if there are issued with ownBackup app - better get in touch with the developer.


#5

Thank you. That is the information I needed. I am in touch with the developer of ownBackup and will have them work on it.


#6

I'm being told that ownCloud is in control of the time and it is dependent on the timezone set in base.php. How do I make the timezone change in base.php without getting the integrity error? Or is there a better way?


#7

To be honest: don't change it! We put it there on purpose. Hundreds of thousands of instances run with timezone UTC. They cannot be wrong :wink:


#8

Understood. I'll live with it.