WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form
[resolved] correct time zone? (5 posts)

  1. ruryarts
    Member
    Posted 2 years ago #

    How can I make it show the correct time zone on emails sent through the contact form? I found the place in the code:
    '.get_option( 'time_format' ), time() ).'
    but that calculates a time five hours ahead of my time zone. I don't know a lot about PHP but is this a quick fix? Thanks :)

    http://wordpress.org/extend/plugins/contact-form-plugin/

  2. bestwebsoft
    Member
    Plugin Author

    Posted 2 years ago #

    Hello,

    Please make sure that on the 'wp-admin/options-general.php' page correct settings are selected for "get_option ( 'time_format' )" - there should be selected correct time zone.

    It is possible that the time from server is used there which can be different from your time zone.

    Regards,
    Oksana

  3. Bradford
    Member
    Posted 2 years ago #

    The plugin is using UTC. It should use the offset that is set in Settings -> General

  4. bestwebsoft
    Member
    Plugin Author

    Posted 2 years ago #

    We will analyze this issue and if it possible then we will create required functionality.

    Thank you,
    Oksana

  5. bestwebsoft
    Member
    Plugin Author

    Posted 2 years ago #

    We have added these changes to version 3.21.

    Regards,
    Oksana

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.