Replaces 'GMT' by 'UTC' where it showed in user interface and fixes MDL-9164.

This commit is contained in:
scyrma
2007-11-22 06:26:58 +00:00
parent 81e19d3595
commit d2957326c8
+4 -4
View 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) {