From 5beb07c1b4bcd656c8cd11ac0c1ca488187bd217 Mon Sep 17 00:00:00 2001 From: Tom van der Laan Date: Tue, 28 May 2024 08:22:46 +0000 Subject: [PATCH] Update datetime.md --- datetime.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datetime.md b/datetime.md index 51a4bb5..faa9356 100644 --- a/datetime.md +++ b/datetime.md @@ -1,5 +1,5 @@ ## 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. +In Joomla 3 we were used to setting the default for a datetime field to 0000-00-00 00:00:00. Since Joomla 4 (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: