Added info about datetime changes in J4

This commit is contained in:
Tom van der Laan 2024-05-28 07:53:41 +00:00
parent f5825caa08
commit 236de3634d

7
datetime.md Normal file
View File

@ -0,0 +1,7 @@
## DateTime in Mysql JCB Settings
In Joomla 3 we were used to setting the default for a datetime field to 0000-00-00 00:00:00. Since J4 (because of the mysql 8.0 requirement) that is no longer a valid default value. So it should be set to NULL.
To do so, you would change your field settings to these:
Data default = Other
Other Default = EMPTY
Null switch = NULL