зеркало из https://github.com/mozilla/gecko-dev.git
Bug 361809: GMT, UT, UTC and WET cannot be used as timezone - Patch by victory(_RSZ_) <bmo2007@rsz.jp> r=LpSolit a=justdave
This commit is contained in:
Родитель
05e0655bd7
Коммит
5a7a7d8716
|
@ -326,7 +326,7 @@ sub check_notification {
|
|||
|
||||
sub check_timezone {
|
||||
my $tz = shift;
|
||||
unless (tz_offset($tz)) {
|
||||
unless (defined(tz_offset($tz))) {
|
||||
return "must be empty or a legal timezone name, such as PDT or JST";
|
||||
}
|
||||
return "";
|
||||
|
|
Загрузка…
Ссылка в новой задаче