summaryrefslogtreecommitdiffstats
path: root/lib/geo.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/geo.php')
-rw-r--r--lib/geo.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/geo.php b/lib/geo.php
index 964605b1c1c..4eb785da355 100644
--- a/lib/geo.php
+++ b/lib/geo.php
@@ -12,11 +12,11 @@ class OC_Geo{
* @param (string) $longitude - Longitude
* @return (string) $timezone - closest timezone
*/
- public static function timezone($latitude, $longitude){
+ public static function timezone($latitude, $longitude) {
$alltimezones = DateTimeZone::listIdentifiers();
$variances = array();
//calculate for all timezones the system know
- foreach($alltimezones as $timezone){
+ foreach($alltimezones as $timezone) {
$datetimezoneobj = new DateTimeZone($timezone);
$locationinformations = $datetimezoneobj->getLocation();
$latitudeoftimezone = $locationinformations['latitude'];