If a plugin is installed on a client site that’s using timezone Amsterdam (UTC+2), that is logged and visible in the Site Changes log on my MainWP dashboard (also using timezone Amsterdam), but it’s showing in the log as UTC+4, so it looks like it’s logging the local time and handles it as UTC causing a double timezone correction.
This results in incorrect timestamps and changes made in the future.
I’ve checked some things in the database.
The record in wp_mainwp_wp_logs has the field created with a timestamp. That is the timestamp as local time. So the code that shows it on the dashboard handles it like it’s GMT.
On the child site these changes are logged in the wp_options table in mainwp_child_actions_saved_data and that has the exact same timestamp.
So the client plugin logs it as local and the dashboard thinks it’s GMT.
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
WordPress® is a registered trademark of the WordPress Foundation, and WooCommerce® is a registered trademark of WooCommerce, Inc. MainWP is an independent product and is not affiliated, associated, or endorsed by the WordPress Foundation, WooCommerce, Inc., or Automattic Inc., except where noted under the Jetpack® API and Trademark License Agreement. All product names, logos, and brands are property of their respective owners and are used for identification purposes only.