Wrong time format/zone showing – URGENT

Home Forums Calendar Products Events Calendar PRO Wrong time format/zone showing – URGENT

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #1202478
    Sascha
    Participant

    Hi,

    Please have a look at attached screenshot. Time is not showing correctly (24h schedule) for afternoon.

    Is there a setting for this? Couldn’t find it!!!

    Need a fix quickly!

    • This topic was modified 9 years, 5 months ago by Sascha. Reason: Image attach - not there anymore?!?
    #1202483
    Sascha
    Participant

    I have checked time zones as well as events. The settings are good, but afternoon events show up in “pm” style.

    I need a fix for that as I am working in Europe and nobody wants this am/pm format!

    Thanks for your help!!

    #1202772
    Sascha
    Participant

    up

    please advise, it’s urgent!
    thank you.

    #1202862
    Cliff
    Member

    Hi, Sascha.

    Please check your settings at

    • wp-admin > Events > Settings > Display tab > Date Format Settings section
    • and wp-admin > Settings > General

    If those settings do not help, please share your System Information. That will give me a lot of extra information to help diagnose the problem.

    #1202991
    Sascha
    Participant

    This reply is private.

    #1203419
    Cliff
    Member

    Thanks for those screenshots.

    This isn’t currently a known issue and your settings look correct (to not be displaying AM/PM, per https://codex.wordpress.org/Formatting_Date_and_Time) so I’d suggest following these recommended troubleshooting steps for your own site:

    There might be some new updates available. Could you please make sure all your Modern Tribe plugins (and WordPress core) are at their latest versions?

    Once you verify you’re on the latest versions, please test to see if the issue is still happening for you.

    If it is, please follow our Testing for Conflicts Guide (basically switch to Twenty Sixteen theme and deactivate all plugins and custom code other than Modern Tribe plugins) and see if that helps narrow down the cause of this.

    If it doesn’t, please enable WP_DEBUG and WP_DEBUG_LOG and share any debug messages you see while changing tickets quantity, navigating your site’s home page, events page, single-event pages, and any other of your site’s pages relevant to this ticket.

    Then, please share your System Information (while in Testing for Conflicts Mode). That will give me a lot of extra information to help diagnose the problem.

    You might also see if you can spot any console errors at your site. (If needed, you may reference our KB article Using Google Chrome Developer Tools.)

    Let us know what you find out.

    Thanks.

    #1203719
    Sascha
    Participant

    Cliff,

    Thank you for your suggestions.

    The error must be somewhere in the specific Event-“Ticket” presentation, as time shows up correctly elsewhere!

    Switching to another theme will lead to loose too much of , so I certainly won’t do that. By the way, I cannot understand why developers still continue to give such advice….

    #1204216
    Cliff
    Member

    The only way to verify the error must be coming from our plugin(s) is if you do the testing required to actually verify this. I know it can be time-consuming and worrisome to change things on your site, but this is a good reason for using a staging/development server. You might want to ask your web host about that.

    If you do find a way to reproduce the issue consistently (such as a specific theme or plugin that, when activated, causes the issue — or some combination of settings and event data) and communicate it to me, I’ll be happy to try replicating the issue. If I can, we’ll file a bug report and proceed from there.

    #1204510
    Sascha
    Participant

    Hi there,

    Thank you for your hints. I will not be able to set up a testing environment at this time.

    I have been digging a bit deeper and found that probably your plugin is not to be be accounted for the presentation error, as I found this Goodlayer code:
    <div class=”gdlr-event-list-date-info gdlr-skin-info”> (<i class=”fa fa-clock-o”></i>02:30 – 04:00 </div>)

    The time presentation error seems to be dued to the skin info interpretation.

    I submitted a ticket at goodlayers support…
    We’ll see

    Cheers!

    #1204609
    Sascha
    Participant

    cliff,

    Me again. And again bringing you the solution. None of your: verify versions, download, license key, update, “the-error-only-can-be-yours-blabla”….

    Sorry Cliff and the other guys, I have said it before and keep it up: your business is not very serious, as far as I am concerned! I am very sorry, but I know I paid quite some money for your plugin and extension and you definitely don’t know much about time formatting in WordPress, even so you’re making money with a calendar and ticketing application……find the error.

    Here’s the solution:

    go to wp-content/theme/plug-in/the-event-calendar.php and edit (get) date line as follows:

    echo tribe_get_start_date($post, false, $format = ‘H:i a’ ) . ‘ – ‘ . tribe_get_end_date($post, false, $format = ‘H:i a’ );

    where according to: https://codex.wordpress.org/Formatting_Date_and_Time

    small “h” is 12-hour mode and capital “H” is 24-hour mode.

    Hope this can help someone….

    #1204667
    Cliff
    Member

    Thank you for your detailed report, of both the theme you were using and of the code you found.

    In our experience, most issues are resolved by either the individual finding it’s some sort of conflict or we get multiple reports of the same issue and confirm it as a bug. It’s rare when the issue isn’t a bug and is actually from our plugin’s code, like you’ve found for your use case.

    Again, kudos on figuring that out, but I still do not know where in your site you’re seeing this, what theme you’re using, what your system information settings are, etc. For example, in this scenario, if I had known which URL it was at, I could have looked in that template file to see which functions are used and then dig deeper through those and likely come to the same conclusion as you did.

    It’s challenging to give full support and the best suggestions without having all that information.

    Hopefully, you’ll be able to provide more details for your future support requests and we’ll be able to provide quicker, more thorough service to you.

    We definitely appreciate your business and want to be as helpful as possible throughout your time with us.

    Have a great week!

Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘Wrong time format/zone showing – URGENT’ is closed to new replies.