incorrect Date/Time in birthdate.
-
Hello,
On each user profile, birthdate is incorrect
(for instance 23/05/1978 where it should show 24/05/1978)
but when they click on the gear to modify their profile data, the correct birthdate is displayedI have checked in the table user_meta, I find the correct date ; “1978/05/24”
There is always 1 day error at the display. what is wrong ?
here are a few informations ;
in wp-settings.php, there is a line (set by default) ;
date_default_timezone_set( 'UTC' );
The Site Health tool on the WordPress dashboard gave the following notification and classified it as critical:
“PHP default time zone was changed after WordPress loading by a date_default_timezone_set() function call. This interferes with correct calculations of dates and times.”
In the settings of WP, UTC is
2023-01-02 23:03:43
. Local time is2023-01-03 00:03:43
.I feel there is a link…
Cheers
Alexandra
- The topic ‘incorrect Date/Time in birthdate.’ is closed to new replies.