• Resolved daisyhead

    (@daisyhead)


    I am calling in my calendar using <?php get_calendar(2); ?>. According to the documentation on the get_calendar tag, the days on my calendar should be 2 letter abbreviations but they’re not. What I’m getting is the name of each day spelled out in it’s entirety. I’m running WP 2.0.5.

    Does anyone know how I can get the 2 letter abbreviations for the days of the week? Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • I am afraid that’s an error in the docs. It happens…
    As I see it you have only 2 choices: 1 letter or 3 letters.
    (or, if you like to mess around with core files > open the wp-includes/locale.php and change the 3 letter abbreviations to 2)

    Thread Starter daisyhead

    (@daisyhead)

    So I can change the output by modifying the wp-includes/locale.php file?

    Thread Starter daisyhead

    (@daisyhead)

    Got it Moshu! Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Formatting question on days of week in calendar’ is closed to new replies.