[Owncloud] Default Timezone is Europe/Berlin

Evert Pot evert at rooftopsolutions.nl
Mon May 21 13:35:23 UTC 2012


>> 
>> 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.

UTC is the most sane default, especially for storage. Storing times in a different tz actually makes it ambiguous.

I wrote this last december, perhaps it's helpful :)

http://phpadvent.org/2011/dates-and-times-by-evert-pot

Evert


More information about the Owncloud mailing list