Possible to abbreviate day of week to first 1-2 letters rather than the first 3?

Home Forums Welcome! Pre-Sales Questions Possible to abbreviate day of week to first 1-2 letters rather than the first 3?

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1079247
    Ashia
    Guest

    Hello and thank you for the great plugin. In mobile calendar view, I’m wondering whether it would be possible to display only the first one or two letters of the day of the week rather than the first three. In other words, when viewing on a mobile device, I would like to display either “M” or “Mo” for Monday instead of “Mon” for Monday. I have been looking at using css to do this, but so far it hasn’t worked. Any suggestions would be most welcome. The reason I need this is a bit long to explain (it has to do with implementing machine translation for the site content and with issues that arise when machine translation is applied to abbreviations like “Wed”), but I would be very grateful for any tips you might be able to offer. Thanks very much in advance!

    #1079789
    Geoff
    Member

    Hey Ashia! Thanks for the kind words. 🙂

    You can change the date format in Events > Settings > Display in the Date Format Settings. In particular, the Week Day Format setting is what you’re looking for and you can use any of the date formatting options offered by WordPress to customize it.

    Cheers!
    Geoff

    #1081750
    Ashia
    Guest

    Thank you Geoff. I had seen the WordPress options you mention. However, this only provides two variations: the full weekday name or else a 3-letter abbreviation. I would like a 1 or 2-letter abbreviation of the weekday. Is this possible? Thanks!

    #1081942
    Geoff
    Member

    Hi Ashia,

    Shoot, I’m afraid that if it isn’t an available option in WordPress formatting, then it’s not right of the box for The Events Calendar either. Sorry about that!

    Did you have any other pre-sales questions I can help with? Please let me know. 🙂

    Geoff

    #1086803
    Geoff
    Member

    Hello Ashia,

    It looks like my last reply was marked as the correct answer, so I’ll go ahead and close this thread. Please feel free to open a new thread if you have any other questions and we’d be happy to help. 🙂

    Cheers,
    Geoff

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Possible to abbreviate day of week to first 1-2 letters rather than the first 3?’ is closed to new replies.