Change hour format

This topic contains 2 replies, has 2 voices, and was last updated by  Paolo 9 years, 8 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #13709

    amolin
    Buyer
    Post count: 161

    I want to change the hour format from 12-hour to 24-hour.

    I´ve found this code:

    
    
    function gde_24hour_times( $times ) {
    	foreach($times as $key=>$val){
    		$times[$key]=$key;
    	}
        return $times;
    }
    add_filter( 'geodir_event_schedule_times', 'gde_24hour_times' );

    but only change the format in the submit event page.

    How can get the change into listings and detail pages?

    #13711

    amolin
    Buyer
    Post count: 161

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #13737

    Paolo
    Site Admin
    Post count: 31206

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

Viewing 3 posts - 1 through 3 (of 3 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket