Avada Forums Community Forum Fix: Save time in fusion_form_submissions in WordPress timezone, not UTC

Tagged: , ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • crmihaila
    Post count: 1

    When Avada Forms inserts the form submission in the fusion_forms_submissions table from the database, it automatically inserts the current datetime in the time column.

    The current time, however, is in the UTC timezone, not in the timezone from the WordPress settings.

    That is confusing and has an easy fix:
    – modify /wp-content/plugins/fusion-builder/inc/class-fusion-form-submit.php with date() instead of gmdate() on lines 916 and 923 (approx.)
    – add date_default_timezone_set(get_option(‘timezone_string’)) before line 913 (approx.).

    In my opinion, this should go into the next update.

    Post count: 770

    Hi @crmihaila

    You have active support, and our support team does not provide support via the community forum. If you need assistance, please create a support ticket using the link below, and our support team will gladly assist you.

    Click Here To Get Avada Support

    Thank you kindly

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.