]> git.mjollnir.org Git - moodle.git/commitdiff
Replaces 'GMT' by 'UTC' where it showed in user interface and fixes MDL-9164.
authorscyrma <scyrma>
Thu, 22 Nov 2007 06:28:58 +0000 (06:28 +0000)
committerscyrma <scyrma>
Thu, 22 Nov 2007 06:28:58 +0000 (06:28 +0000)
lib/moodlelib.php

index 73003f379af2b935d6afe6ba7047695c9eab8347..baf87d86477a76bd01135d03dbac0e1b1956524c 100644 (file)
@@ -1292,13 +1292,13 @@ function usertimezone($timezone=99) {
     }
 
     if($tz == 0) {
-        return 'GMT';
+        return 'UTC';
     }
     else if($tz > 0) {
-        return 'GMT+'.$tz;
+        return 'UTC+'.$tz;
     }
     else {
-        return 'GMT'.$tz;
+        return 'UTC'.$tz;
     }
 
 }
@@ -5357,7 +5357,7 @@ function get_list_of_timezones() {
     asort($timezones);
 
     for ($i = -13; $i <= 13; $i += .5) {
-        $tzstring = 'GMT';
+        $tzstring = 'UTC';
         if ($i < 0) {
             $timezones[sprintf("%.1f", $i)] = $tzstring . $i;
         } else if ($i > 0) {