application_timezone is allowed to be nil
This commit is contained in:
parent
957b0bac1b
commit
99af726a58
@ -327,9 +327,6 @@ static VALUE rb_mysql_result_each(int argc, VALUE * argv, VALUE self) {
|
|||||||
} else if (appTz == sym_utc) {
|
} else if (appTz == sym_utc) {
|
||||||
app_timezone = intern_utc;
|
app_timezone = intern_utc;
|
||||||
} else {
|
} else {
|
||||||
if (!NIL_P(appTz)) {
|
|
||||||
rb_warn(":application_timezone option must be :utc or :local - defaulting to :local");
|
|
||||||
}
|
|
||||||
app_timezone = intern_local;
|
app_timezone = intern_local;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user