1
0
Fork 0
mirror of synced 2025-04-01 12:26:11 +03:00

Add hour to DATE_ADD and DATE_SUB. Excepcion message fix

This commit is contained in:
amakhov 2013-08-06 12:40:30 +04:00
parent dd975fe53d
commit d8fcdc0c54

View file

@ -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.'
);
}
}