Community event submit form: date / time format presets are not used

Home Forums Calendar Products Community Events Community event submit form: date / time format presets are not used

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #1267518
    Oliver
    Participant

    Hi,

    in the actual version of the Events Calendar the date/time format presets are not used for the front end.
    In the events submit form the date / time and time are showed in the American format, even if the German format is saved in the settings area.

    Is there a ticket opened for this issue yet?

    Best regards,
    Oliver

    #1267544
    Oliver
    Participant

    Find attached one more example

    #1269006
    Victor
    Keymaster

    Hi Oliver!

    Thanks for getting in touch! I’m sorry you are having that issue.

    I could not reproduce the issue you are having. Could you please describe the steps you made that resulted in the problem?

    Where are you changing the date / time format settings? In the WordPress settings or under Events > Settings > Display tab

    Also, when coming back could you please share with us your system info by following this guide > https://theeventscalendar.com/knowledgebase/sharing-sys-info/

    Thanks!
    Victor

    #1271886
    Oliver
    Participant

    This reply is private.

    #1271930
    Victor
    Keymaster

    This reply is private.

    #1272701
    Oliver
    Participant

    Hi Viktor,

    Maybe I was not precise enough. The problem is not the date format, it’s the time format:
    In Germany we use the 24h format, e.g. “17:23 Uhr”.

    This worked always in the past, but now the 12h format (a.m./p.m.) is shown. It looks that the datepicker was changed in one of the recent versions.

    Best regards,
    Oliver

    #1272896
    Victor
    Keymaster

    Hey Oliver!

    Yeah, I understand what you mean now. I’m sorry I misunderstood that.

    Unfortunately, this is a bug we are already aware of. Thanks for taking your time and letting us known about it. I will link this thread to the bug report so the team will let you know as soon as it is fixed.

    In the meantime, there is a workaround for it. While it’s not ideal, it will get you through until we release the final fix.

    You should copy and paste the following code snippet into your theme’s functions.php file >

     

    function ce_timepicker_24hr_fix() {
        echo "
            <script type='text/javascript'>
                document.addEventListener( 'DOMContentLoaded', function() { 
                    if ( 'function' !== typeof jQuery ) {
                        return;
                    }
                    setTimeout( function() {
                        jQuery( '.tribe-timepicker' ).timepicker( { 'timeFormat': 'H:i' } );
                    }, 500 );
                }, false );
            </script>
        ";
    }
    add_action( 'tribe_events_community_form_after_template', 'ce_timepicker_24hr_fix' );

    Let me know how that works for you and if you have any other questions.

    Sorry again for the inconvenience and we will appreciate your patience.

    Best!
    Victor

    #1278582
    Oliver
    Participant

    I didn’t tried the workaround, because I heard from another user that the workaround doesn’t work 100%.
    With the new Version 4.5 the bug is still there.

    Can you please talk to the developers to fix this asap?

    Best,
    Oliver

    #1278895
    Victor
    Keymaster

    Hey Oliver!

    A new maintenance release for this week has been released today, which includes a fix for this issue 🙂

    Find out more about the release → https://theeventscalendar.com/maintenance-release-week-1st-may-2017/

    Please update the plugin and let us know if the fix works for your site,
    Best,
    Victor

    #1279506
    Oliver
    Participant

    Great! It works! Finally!!! 🙂

    Thanks for fixing it!
    Oliver

    #1279587
    Victor
    Keymaster

    Great to hear that Oliver! Thanks for letting us know about it! 🙂

    Definitely keep us posted if any other questions come up and we’d be happy to help.

    Cheers!
    Victor

Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘Community event submit form: date / time format presets are not used’ is closed to new replies.