Home › Forums › Calendar Products › Events Calendar PRO › Issue with date
- This topic has 3 replies, 2 voices, and was last updated 10 years, 6 months ago by
George.
-
AuthorPosts
-
October 16, 2015 at 6:00 pm #1015492
Lara
ParticipantHi There,
Geoff has been working with my site developers and we have seemed to come to a stand still on an issue that I am just trying to get to the bottom of. I would appreciate any help you could give me on this. Basically we want the multi day events to say for example Aug 20-22, 2015 vs. Aug 20, 2015 – Aug 22, 2015. Other sites do this, an example is: http://www.festicket.com/festivals/
If you could please email me or call me at 8285056098 and we could chat about the issue and if there is a way to resolve it, that would be wonderful. I am very excited to get to know this plugin as I have liked everything about it, and want to continue to have the same great experience using it.
Kind Regards,
Lara
[email protected]October 17, 2015 at 5:21 am #1015534George
ParticipantHey Lara,
Is your issue with Geoff this one? → http://theeventscalendar.com/support/forums/topic/events-list-duration-format/
If so, it is still an open thread and I’d recommend that you post followup questions and concerns there. We do not offer phone support at this time.
Also, for what it’s worth, this code snippet that Geoff wrote and recommend does make the date format match what you described:
https://gist.github.com/geoffgraham/08d4957f1417a9a60aaa
I hope that helps!
I will close this thread so that your conversation can stay in the other thread with Geoff, which should help keep things organized and help us help you most efficiently.
Cheers!
GeorgeOctober 20, 2015 at 10:49 am #1016307Lara
ParticipantThis is Lara’s developer writing to chime in on the problem. We did implement Geoff’s solution he recommends above which is how we have the date showing as it does like so October 20 – 23, 2015, but then the single day events don’t show the year at all – they just say October 20. So we added the Y to the backend settings for Day without Year under Display tab so that a single day event would show the year there regardless but when we do that it lists the multi-day event in a way we don’t want either, like this October 20, 2015 – 23, 2015. So there is a conflict with the settings we setup and the script we are using. How can we solve that so they don’t conflict. If you want to see what is going on, I could give you login credentials.
October 21, 2015 at 10:19 am #1016634George
ParticipantHello,
As her developer we have to leave the reins to you with regards to this customization – we do not offer any support for custom code here, so Geoff’s snippet is just a starting point and educational example of how to go about this in a general sense.
Perhaps changing line 52 in Geoff’s snippet will help; i.e. changing this:
$schedule .= tribe_get_end_date( $event, true, $format2ndday );to this:
$schedule .= tribe_get_end_date( $event, true, 'j, Y' );I don’t know if that’s the case specifically, but this should hopefully offer some inspiration for further tinkering here.
I wish you the best of luck with your customizations!
Cheers,
George -
AuthorPosts
- The topic ‘Issue with date’ is closed to new replies.
