In the ME Calendar the Local time doesn’t honor the Time format if set to 12 hours with AM/PM.
Hi There,
To help you with this issue, would you mind giving us more details?
Site URL and credentials on a secure note so we can check your setup
We need to compare your settings to the page where it is not working.
How we can duplicate the issue.
I have tried it on my test site and it works, unless I got the issues incorrect so more details are needed for confirmation. Thank you.
Look at this page:
Local time is 12:00-14:00 and the event time is 12:00pm - 2:30pm.
System Settings:
Time format is 12 hour format with AM/PM
Hi There,
This is what I am seeing at the moment:
Under Local Time: 03:00 - 05:30 not 12:00-14:00
I’m not saying the time isn’t correct, it is…the problem is it is 24 hour display instead of 12 hour AM/PM display. See the same display given an equal time zones…
The local time is 12:00-14:30 and the event time is 12:00PM - 2:30PM
Hi there,
I do see Time: 03:00 - 05:30 as well instead of 12:00-14:30 from your screenshot. Would you mind providing your admin login credentials on a secure note? ANd we’ll check what’s going on.
Thanks!
Of course that is the time you see. Your currently in Philippines or Indonesia and it is shows your local time.
I’d love to give you access but I’m working on a very draconian server that freaks and even a hint of a possible threat. Creating a special pass and access from your country is all it would take to shut down development for 3-4 days while the people running the server decide if this is a hack or not. Since we’re in the finally stages of development we can’t take that risk.
I have created
http://dev.zebulonpike.coloradodar.org/chapter-events/doppie-event/
Which should show the problem in your country.
Alternatively you could set your clock to Denver time and it would should the problem as well. Or you could create a test ME event that starts at 1:00pm on a test system you have and it would work.
Choose your poison.
Hi there,
Which is why we need to check it directly since it will always display okay on our end. It calculates the time based on visitor’s location (hence LOCAL TIME), but still, I need to check it, please provide your site’s URL and login credentials in a secure note.
I’ve been testing that on my installation with no luck. But could be a bug, need to gather more information about it.
For the meantime, please edit this file wp-content\plugins\modern-events-calendar\app\modules\local-time\details.php
through FTP or by using your hosting’s File Manager and replace this line
<li><?php echo sprintf(__('Time: %s', 'mec'), '<span>'.($allday ? __('All of the day', 'mec') : date('H:i', $user_start_time).' - '.date('H:i', $user_end_time)).'</span>'); ?></li>
with this new line
<li><?php echo sprintf(__('Time: %s', 'mec'), '<span>'.($allday ? __('All of the day', 'mec') : date('h:i', $user_start_time).' - '.date('h:i', $user_end_time)).'</span>'); ?></li>
Thanks!
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.