• Resolved lucianacristea

    (@lucianacristea)


    Hello,

    Since I upgraded the plugin I can see that if somebody is selecting a start time and and end time for the event this is not showned correctly under “Where and When” section in the event itself.

    Basically if following function is used, the get_event_start_time() does not display anymore the time selected in the drop down list but the position in the dropdown of the selected value. Lets’ say that time selected is 9:30, it means that get_event_start_time() does not display anymore 9:30 but 19 which is the position of 9:30 within the drop down with selectable values for time.

    By using the below I get as output something like: 12.09.2018, 19 instead of 12.09.2019, 9:30

    <?php $timestamp = strtotime(get_event_start_date()); if($timestamp!=null):echo date(“d/m/y”,$timestamp).’,’.get_event_start_time(); endif;?>

    I even tried below function:

    <?php echo date (“H:i”, strtotime(get_event_start_time())); ?>

    but I always get 00:00.

    Can you have a look and check why this is happening and how to fix this issue?

    Thanks.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Ashok Dudhat

    (@ashokdudhat)

    HI @lucianacristea,

    If you are facing issue with a start date or end date then you can just update setting in event listing -> settings -> event submission

    Make date format empty or apply proper date format then it will fix your issue.

    Thread Starter lucianacristea

    (@lucianacristea)

    Hi Ashok,

    Thanks for the fast feedback. Please note that my issue is with the time and not with the date. There are different fields for time. More in the setting you mention you have only 2 choices 12-h or 24-h so your suggestion does not work.

    Please have a look more in detail.

    Plugin Author Ashok Dudhat

    (@ashokdudhat)

    Hi @lucianacristea,

    Yes, it is two format 12-h and 24-h.based on your country settings, you can set from admin panel and it will reflect to frontend.

    after saving from admin panel, then please go to your event (edit event or post new ) and check it will work or not.

    Even if not work then please contact to us via our contact us page with details of your site and our team will check your site and fix for you.

    Your review will really help us to grow and support to the community.

    I hope that it will help you.

    Thread Starter lucianacristea

    (@lucianacristea)

    Hi Ashok,

    I have followed up your instructions and issue seems to be the same. I have sent the requested information via email.

    Please note, I have custom file for content-single-event_listing-organizer.php however there is nothing deleted, only commented vs. original file.

    Thanks for your support.

    I also have the same issue!
    Everything works on back end, but on front end i see only numbers (i.e. 16), not the time format (i.e. 8:00 am)

    Hi @mschouten,

    Thank you for providing the issue details. I have fixed i am about to launch new version 2.6 give me few hours it will be fixed in new version.

    Thank you.

    Hi @lucianacristea,@mschouten,

    Thank you much for your details and help. We have released the new version 2.6 now you can udpate your plugin and it will fix your issue.

    If you like our plugin then you can write feedback or review. It will help other user and us.

    Thank you 🙂

    Thank you so much!
    After saving settings again, it reset the post time, save the post again and now i see the correct time format, thanks!

    Hi @mschouten,
    We would like to provide support to each customer some like this. Thank you so much for using our plugin.

    Thank you 🙂

    Thread Starter lucianacristea

    (@lucianacristea)

    Hi all,

    Thanks a lot for the support, the issue seems to be fix but not fully. So, the time is displayed correctly, I agree but if you edit the event (in both admin or UI) both time fields are displaying 00:00. So it looks like the values set are not being saved or something. This happens with already created events as well as newly created ones (after upgrade to 2.6). This is of course an issue as nobody will really check if existing fields are being modified when they tried to update an event.

    Can you please check? I have found another issue, but not directly connected with this one, so I will open another ticket for it.

    Anyway, guys thanks a lot for your fast help.

    Regards.

    Hi @lucianacristea

    Is that issue still in 2.7?

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Issue with time format after update to the new version’ is closed to new replies.