Replace these timestamp variables. Modern events calendar 24 hours format
-
you have “Replace these timestamp variables” in “Variable based modification” section, which is not described well in manual. All information on june 2020 about this is only:
Replace these timestamp variables: timestamps cannot be identified, as any positive number can be a timestamp, but if you enter the timestamp variable’s name, like “starttime” (without quotemarks), then you can make our code turn them into dates, using the given format.
About my issues.
1/
I have a plugin Modern events calendar and want to select date and time. With date everything is okay, but time of event in this plugin data looks as here on the screenshot: https://prnt.sc/sru4ry 3PM or 10AM and so on. But in my country we use 24 hours format as well. So I need 15:00 or 10:00 instead of 3AM or 10AM. Also here as you can see is another format of a date https://prnt.sc/srvck0. I looked through a generator options carefully and got a functionality associated with datastamps. But this manual is so poor, that I can’t understand will it solve my problem or not, and how to do it, if it can solve. I think this information will be also helpful for another users of Modern event calendar and Smart slider 3, so I publish it here in a hope that you can help to find a solution. With a time format in custom generator.2/
Another issue with a same plugins mix is I don’t know how to choose only events started from today and show future events. For example administrator month ago created 10 events. 5 that already gone, and 5 that will go in this month. In a posts of Modern Event Calendar (MEC) start date has its own row https://prnt.sc/srvjx6. What I need is to showw only posts after today. Now I only can guess how to show all posts. Past ongoing and future. Can I select only future events? Or at least ongoing and future events? I know that in setting of custom post generator has these section https://prnt.sc/srvoub. And I can’t find how can I correctly use it in my case. I tried this: https://prnt.sc/srvvox but it not works(Also I wrote similar question to the MEC comunity in wordpress but I’m not totally sure that they can fi it. https://www.ads-software.com/support/topic/24-hours-format-for-smartslider/
What to do? Do you have any ideas?
- The topic ‘Replace these timestamp variables. Modern events calendar 24 hours format’ is closed to new replies.