Add hour to DATE_ADD and DATE_SUB. Excepcion message fix
This commit is contained in:
parent
dd975fe53d
commit
d8fcdc0c54
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ class DateSubFunction extends DateAddFunction
|
|||
|
||||
default:
|
||||
throw QueryException::semanticalError(
|
||||
'DATE_SUB() only supports units of type day and month.'
|
||||
'DATE_SUB() only supports units of type hour, day and month.'
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue