Wrong spelling of start or end-date
-
Hi,
first, I really like your Plugin. It′s lightweight ans easy to use. So thank you for making.
I′m currently using it for a website, but I have a problem with the correct spelling of the start or end-date. It’s a german website and I need all dates with correct spelling.
Right now it looks like this:Montag 17. Juli 2017, 15:00–4:00 pm
or
Juni 26th – 14. Juli 2017I don’t know why it echos 4:00 pm and not 16:00 or 26. Juni as it does with the rest of the date.
I implemented the plugin into the posts with following code from github:<?php // Add Minimalistic Event Manager Plugin into Posts Content $mem_date = mem_date_processing( get_post_meta($post->ID, '_mem_start_date', true) , get_post_meta($post->ID, '_mem_end_date', true) ); // Second step: display the date if ($mem_date["start-iso"] !=="") { // show the event date echo '<div class="event-date"><strong>Veranstaltungstermin: '; echo $mem_date["date"]; echo '</strong></div>'; } ?>
I also tried changing the $mem_date variables and the best option is the date-num, but I wanted to ask, if someone could help me with this, as I would like to have the full date with day and time in one language.
Thank you so much!
Regards, Adrian
- The topic ‘Wrong spelling of start or end-date’ is closed to new replies.