dates not translated

This topic contains 6 replies, has 4 voices, and was last updated by  Stiofan O’Connor 10 years, 2 months ago.

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

Open Support Ticket

Tagged: , ,

  • Author
    Posts
  • #3085

    eqhes
    Expired Member
    Post count: 40

    Hi,

    Dates on event details page and on events listing don’t get translated. I’ve solved this changing these lines in /geodir_event_manager/gdevents_tamplate_funcitions.php:

    This line:

    $output .=  date($geodir_date_time_format, $sdate);

    By this other:

    $output .=  date_i18n($geodir_date_time_format, $sdate);

    This line:

    $output .=  date($geodir_date_time_format, $edate).'<br />';

    By this other:

    $output .=  date_i18n($geodir_date_time_format, $edate).'<br />';

    This line:

    echo date($geodir_date_format,strtotime($post->event_date));

    By this other:

    echo date_i18n($geodir_date_format,strtotime($post->event_date));

    This line:

    echo   date($geodir_time_format,strtotime($post->event_starttime)). ' ' ;

    By this other:

    echo   date_i18n($geodir_time_format,strtotime($post->event_starttime)). ' ' ;

    Hope you can solve this in the next release ;).

    #3113

    Vikas
    Full Member
    Post count: 1128

    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!

    #12978

    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!

    #13261

    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!

    #14714

    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!

    #17088

    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!

    #19199

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    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 7 posts - 1 through 7 (of 7 total)

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

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount