Hi,
I'm trying to upgrade a test site to J4.
I had no problem for the upgrade but I have an error with jdate plugin.
I need to set the next sunday date in a calendar.
Now we are on saturday june 10. With the J3 version (3.10.11), the new date is 2023-06-11 but with J4 (4.3.2) the new date remains on 2023-06-10
PHP version is 8.1 on both sites.
Could you tell me what is my error?
Thanks!
I'm trying to upgrade a test site to J4.
I had no problem for the upgrade but I have an error with jdate plugin.
I need to set the next sunday date in a calendar.
Code:
date_default_timezone_set('UTC');
return date('Y-m-d',strtotime('next Sunday'));
PHP version is 8.1 on both sites.
Could you tell me what is my error?
Thanks!