aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/datetime.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/datetime.php b/include/datetime.php
index ca6c1b467..b0279492b 100644
--- a/include/datetime.php
+++ b/include/datetime.php
@@ -5,8 +5,8 @@
if(! function_exists('timezone_cmp')) {
function timezone_cmp($a, $b) {
if(strstr($a,'/') && strstr($b,'/')) {
- if ($a == $b) return 0;
- return ($a < $b) ? -1 : 1;
+ if ( t($a) == t($b)) return 0;
+ return ( t($a) < t($b)) ? -1 : 1;
}
if(strstr($a,'/')) return -1;
if(strstr($b,'/')) return 1;
@@ -41,9 +41,9 @@ function select_timezone($current = 'America/Los_Angeles') {
}
else {
$city = $ex[0];
- if($continent != 'Miscellaneous') {
+ if($continent != t('Miscellaneous')) {
$o .= '</optgroup>';
- $continent = 'Miscellaneous';
+ $continent = t('Miscellaneous');
$o .= '<optgroup label="' . t($continent) . '">';
}
}