• Resolved bluecomet

    (@bluecomet)


    I note that the date picker can be set to prepopulate to ‘Today’ but it is Universal Time, even though I have set the time zone to Pacific in WordPress settings. This has resulted in many confusing entries. We use it for daily COVID health checks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @bluecomet

    Sorry to hear you are having this issue.

    I was able to replicate the problem on my website, the Forminator should get the defined timezone from WordPress settings.

    I pinged our developers to check if this is expected and to check for any possible workaround or if we can improve this behaviour.

    We will update once hearing back from the team.
    Best Regards
    Patrick Freitas

    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @bluecomet

    I hope you are doing well.

    Could you please try this script?

    <?php
    
    add_action( 'wp_footer', function(){ ?>
    <script>
    (function($){
           $(function(){
               $(document).on("after.load.forminator", function(e, id){
                           jQuery(this).find(".forminator-datepicker").datepicker( 'setDate', new Date() );
                       });
               });
       })(window.jQuery);
       </script>
     <?php }, 21); ?>

    You can install it as a mu-plugin:
    https://premium.wpmudev.org/docs/using-wordpress/installing-wordpress-plugins/#installing-mu-plugins

    I’m also reporting this to the plugin developer, and I hope we can improve this in the future.

    Let us know if the script worked.
    Best Regards
    Patrick Freitas

    Plugin Support Amin – WPMU DEV Support

    (@wpmudev-support2)

    Hello @bluecomet ,

    We haven’t heard from you for a while not, so it seems that script that was shared above helped with the issue.

    If not, please feel free to re-open this ticket.

    kind regards,
    Kasia

    Thread Starter bluecomet

    (@bluecomet)

    Sorry, I tried it and it prevented saving of the form in the form editor and submitting of the form in the front end. I’ve stopped using the auto-fill for now.

    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @bluecomet

    Sorry to hear this.

    We already reported this situation to the plugin developers.

    I hope we can improve it soon.

    Best Regards
    Patrick Freitas

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Today time stamp is UT’ is closed to new replies.