change Calendar Day view as Mon Tue Wed instead of Monday Tuesday etc.

Home Forums Welcome! Pre-Sales Questions change Calendar Day view as Mon Tue Wed instead of Monday Tuesday etc.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1212985
    Isuru Sam
    Guest

    Hi
    Is it possible to change Calendar Day view as Mon Tue Wed Thu Fri Sat Sun
    instead of Monday Tuesday etc.

    #1213127
    Geoff
    Member

    Hi 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!
    Geoff

    #1213140
    Isuru
    Guest

    Thanksfor 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 ….

    #1213292
    Geoff
    Member

    Hey 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!
    Geoff

     

    #1213298
    Isuru Sam
    Guest

    Thank 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 Sam

    #1213403
    Geoff
    Member

    My 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.php

    I’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

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘change Calendar Day view as Mon Tue Wed instead of Monday Tuesday etc.’ is closed to new replies.