Home › Forums › Welcome! › Pre-Sales Questions › change Calendar Day view as Mon Tue Wed instead of Monday Tuesday etc.
- This topic has 5 replies, 1 voice, and was last updated 9 years, 4 months ago by
Geoff.
-
AuthorPosts
-
January 3, 2017 at 7:21 pm #1212985
Isuru Sam
GuestHi
Is it possible to change Calendar Day view as Mon Tue Wed Thu Fri Sat Sun
instead of Monday Tuesday etc.January 4, 2017 at 7:55 am #1213127Geoff
MemberHi Isuru,
Yes, this is possible in the Events > Settings > Display screen of the plugin. That will allow you to change the date formats used by the calendar.
Cheers!
GeoffJanuary 4, 2017 at 8:07 am #1213140Isuru
GuestThanksfor the respond, I have changed format , but it wont apply or appear, tell me the exact field what i need to change and to which format.
note: I need to display main calendar Day view As Mon Tue and so on instead of Monday Tuesday ….
January 4, 2017 at 9:20 am #1213292Geoff
MemberHey Isuru, thanks for following up!
note: I need to display main calendar Day view As Mon Tue and so on instead of Monday Tuesday ….
Oh, gotcha. This is different and I’m afraid there is no direct setting for this. Instead, you will need to override the Month View template and replace the existing day names with abbreviated versions. You might be able to write a filter instead using the tribe_events_get_days_of_week() function.
Or, perhaps another way to go about it is to update the translation files for the plugin so that full day names are always abbreviated.
Sorry I don’t have a concrete solution for you here, but I hope this at least helps get you started in the right direction. If you have any other pre-sales questions, I’d be happy to answer those. If you have additional technical support questions, then please do post them on our WordPress.org support forum and we’d be happy to help as best we can on our next pass.
Cheers!
GeoffJanuary 4, 2017 at 9:30 am #1213298Isuru Sam
GuestThank you Geoff,
for prompt respond,
plugin set the values which i need to “data-day-abbr”(<th id=”tribe-events-monday” title=”Monday” data-day-abbr=”Mon”>Monday</th>) anyhow somehow i need to get it’s value to th’s html. because that’s the exact requirement which i need. 🙂
by the way ,
thanks geoff.
cheers!!!
Isuru SamJanuary 4, 2017 at 12:40 pm #1213403Geoff
MemberMy pleasure! Sorry again for not having something more solid for you here, but I’m glad to help get the ball rolling.
For you reference, the tempalte you can find that markup is:
/wp-content/plugins/the-events-calendar/src/views/month/loop-grid.phpI’ll go ahead and close this thread but let us know if any other pre-sales questions come up and we’d be happy to help. 🙂
Cheers!
Geoff -
AuthorPosts
- The topic ‘change Calendar Day view as Mon Tue Wed instead of Monday Tuesday etc.’ is closed to new replies.
