[Owncloud] Default Timezone is Europe/Berlin

Thomas Müller thomas.mueller at tmit.eu
Mon May 21 13:33:02 UTC 2012




Am Montag, dem 21.05.2012 um 15:28 schrieb Georg Ehrke:
> Hi,
> i was always wondering why the default timezone in ownCloud is set to Europe / Berlin.
> 
> lib/base.php:
> […]
> line: 324: 		date_default_timezone_set('Europe/Berlin');
> […]
>
> Shouldn't we use UTC (like PHP does with 5.4 and newer) if we set the timezone anyways
> Why we set the default timezone at all?
>

Is this timezone only user for displaying times?
 
Within the database all times should be stored in UTC.

Otherwise oc will never work for users not sharing the same timezone.

Thomas
 
> Cheers,
> Georg
> _______________________________________________
> Owncloud mailing list
> Owncloud at kde.org
> https://mail.kde.org/mailman/listinfo/owncloud



More information about the Owncloud mailing list