GeoDirectory Support24-hour clock on Events please – GeoDirectory Support https://wpgeodirectory.com/support/topic/24-hour-clock-on-events-please/feed Wed, 25 Feb 2026 13:59:52 +0000 http://bbpress.org/?v=2.5.14-6684 en-US https://wpgeodirectory.com/support/topic/24-hour-clock-on-events-please/#post-3092 <![CDATA[24-hour clock on Events please]]> https://wpgeodirectory.com/support/topic/24-hour-clock-on-events-please/#post-3092 Tue, 27 May 2014 21:17:43 +0000 Roger Hi is there a way to set the eventtimer to a 24-hour clock timer, instead of am/pm timing. Otherwise it would be senseless for me 🙁

How can I set the calender to another language, days and months.

best

rog

]]>
https://wpgeodirectory.com/support/topic/24-hour-clock-on-events-please/#post-3093 <![CDATA[Reply To: 24-hour clock on Events please]]> https://wpgeodirectory.com/support/topic/24-hour-clock-on-events-please/#post-3093 Tue, 27 May 2014 21:31:07 +0000 Guust Just a note: It looks like changing WP admin > settings > general > time will change the time of an event to 24h format when displayed to visitors, but when adding an event it still uses a AM-PM format.

]]>
https://wpgeodirectory.com/support/topic/24-hour-clock-on-events-please/#post-3105 <![CDATA[Reply To: 24-hour clock on Events please]]> https://wpgeodirectory.com/support/topic/24-hour-clock-on-events-please/#post-3105 Tue, 27 May 2014 23:27:35 +0000 Vikas Hi,

Sure, right now there is a hook in the code to modify that time slots array.
e. g.
apply_filters( ‘geodir_event_schedule_times’ , $event_time_array);
You can hook ur function to modify time slot array.
To make it easy i will provide an option in backend to choose time format.
Either Am/PM or 24 hrs format in near future.

Thanks for ur all inquires.

]]>
https://wpgeodirectory.com/support/topic/24-hour-clock-on-events-please/#post-3110 <![CDATA[Reply To: 24-hour clock on Events please]]> https://wpgeodirectory.com/support/topic/24-hour-clock-on-events-please/#post-3110 Tue, 27 May 2014 23:45:05 +0000 Roger Where do I have to include this code, into the script section?

best

rog

]]>
https://wpgeodirectory.com/support/topic/24-hour-clock-on-events-please/#post-3136 <![CDATA[Reply To: 24-hour clock on Events please]]> https://wpgeodirectory.com/support/topic/24-hour-clock-on-events-please/#post-3136 Wed, 28 May 2014 05:40:57 +0000 Vikas Rog, i think, u got me wrong.
geodir_event_schedule_times is a hook and it passed time slot array to the function u hook into for example
u can write something like this in ur theme’s functions.php file

add_filter(‘geodir_event_schedule_times’ , ‘geodir_modified_time_slots’);
function geodir_modified_time_slots($time_slot_array)
{
// write a code to modify the $time_slot_array
//and return it back
return $time_slot_array;
}

Please advise?

]]>
https://wpgeodirectory.com/support/topic/24-hour-clock-on-events-please/#post-3140 <![CDATA[Reply To: 24-hour clock on Events please]]> https://wpgeodirectory.com/support/topic/24-hour-clock-on-events-please/#post-3140 Wed, 28 May 2014 07:11:45 +0000 Roger Hi Vikas thanks,

but I better wait for the option.

thx

r

]]>