From 3082708867e05bccb9c2176053282e647ea06612 Mon Sep 17 00:00:00 2001 From: Tom van der Laan Date: Tue, 28 May 2024 07:55:00 +0000 Subject: [PATCH] Update datetime.md --- datetime.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/datetime.md b/datetime.md index 119488e..51a4bb5 100644 --- a/datetime.md +++ b/datetime.md @@ -2,6 +2,7 @@ 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 + +Data default = Other\ +Other Default = EMPTY\ Null switch = NULL \ No newline at end of file