From 61b420ace247c32546a174b2d0c02c733448c019 Mon Sep 17 00:00:00 2001 From: scyrma Date: Thu, 22 Nov 2007 06:28:58 +0000 Subject: [PATCH] Replaces 'GMT' by 'UTC' where it showed in user interface and fixes MDL-9164. --- lib/moodlelib.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/moodlelib.php b/lib/moodlelib.php index 73003f379a..baf87d8647 100644 --- a/lib/moodlelib.php +++ b/lib/moodlelib.php @@ -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) { -- 2.39.5