Home › Forums › Calendar Products › Community Events › Community event submit form: date / time format presets are not used
- This topic has 11 replies, 2 voices, and was last updated 6 years, 11 months ago by Oliver.
-
AuthorPosts
-
April 10, 2017 at 6:09 am #1267518OliverParticipant
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,
OliverApril 10, 2017 at 6:28 am #1267544OliverParticipantFind attached one more example
April 12, 2017 at 10:08 am #1269006VictorKeymasterHi 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!
VictorApril 19, 2017 at 2:52 pm #1271886OliverParticipantThis reply is private.
April 19, 2017 at 7:21 pm #1271930VictorKeymasterThis reply is private.
April 21, 2017 at 8:44 am #1272701OliverParticipantHi 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,
OliverApril 21, 2017 at 1:44 pm #1272896VictorKeymasterHey 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!
VictorMay 4, 2017 at 8:58 am #1278582OliverParticipantI 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,
OliverMay 4, 2017 at 4:33 pm #1278895VictorKeymasterHey 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,
VictorMay 5, 2017 at 12:04 pm #1279506OliverParticipantGreat! It works! Finally!!! 🙂
Thanks for fixing it!
OliverMay 5, 2017 at 1:40 pm #1279587VictorKeymasterGreat 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 -
AuthorPosts
- The topic ‘Community event submit form: date / time format presets are not used’ is closed to new replies.