Support » Plugin: Event post » Event post // Date format

  • Hi.
    I’d like to change the way the date is displayed on the widget.
    For example : 01 NOV instead of 11 novembre 2013.

    I tried to use this on the settings page field : d M, but it doesn’t work.

    Any ideas ?

    Merci en tous les cas pour ce plugin, simple et d’une grande aide, même si plusieurs fonctionnalités m’échappent.

Viewing 3 replies - 1 through 3 (of 3 total)
  • As the default is “F j, Y” try swapping around those letters, rather than adding d M.

    As the default is 24 May, 2014 and you want just the day and the month, try removing the “,Y” so it’s just “F j”

    I’m unsure how to abbreviate the month…

    Those date codes are a basic (and super useful) PHP function: date().

    As you can see there, the code for “01 NOV” would be: d M

    To display “NOV” all uppercase, you should use some CSS, with the “text-transform: uppercase” property.

    Plugin Author Bastien Ho



    @noecl did the 2 previous answers solved your problem ?

    I did’nt understoud if you changed the date format in the general setting page or the one specific to event posts.
    Date format for events can be changed in the “events settings” page.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Event post // Date format’ is closed to new replies.