US Date format feature added?

This topic contains 1 reply, has 2 voices, and was last updated by  Stephen Harris 8 years ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #8861 Reply

    Hi Stephen,

    Overall I love your calendar plugin. I tried about 20 calendars and yours works the best for our new church website.

    The single deal breaker is the European date format. I spent 3 hours today trying to follow your guidance here:
    http://wp-event-organiser.com/forums/topic/us-date-form-month-then-day/

    Making the change for widgets was quick and easy.
    I’m not sure where to put the short codes to override everything else, but I tried putting them on several pages and it triggered an avalanche of runaway display of recurring events for several years- eg
    [eo_events] %event_title% on %start{M jS Y}{ g:i:a}%, at %event_venue% [/eo_events]

    I’m looking at the code in the templates and could be editing for days to find everything and would probably miss a few.

    So, my questions is whether you might make this a feature to allow US formatting? Seems it would be in the standard release, but I’d pay for the feature.

    Thanks for your time and consideration.

    Stephen

    Stephen
    #8891 Reply

    Hi Stephen,

    There’s no ‘option’ per se but changing your WordPress’ date format (in Settings > General) should get you most of the way there. This is used, for instance, in the shortcode and widget event list. It’s not used, however, by the templates. This may change in the future but this currently set as ‘j F Y’ format. You can edit that by editing the following templates:

    • event-meta-event-single.php
    • archive-event.php
    • taxonomy-event-category.php
    • taxonomy-event-venue.php
    • taxonomy-event-tag.php

    and that should be all of them. There isn’t a single-setting because typically the format of a date depends a lot on context. The templates however, will at some point be changed to use the date format as specified in the admin settings (by default).

    Stephen Harris
Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: US Date format feature added?
Your information:




To create code blocks or other preformatted text, indent by four spaces:

    This will be displayed in a monospaced font. The first four 
    spaces will be stripped off, but all other whitespace
    will be preserved.
    
    Markdown is turned off in code blocks:
     [This is not a link](http://example.com)

To create not a block, but an inline code span, use backticks:

Here is some inline `code`.

For more help see http://daringfireball.net/projects/markdown/syntax


<a href="" title="" rel=""> <blockquote cite=""> <code> <pre> <em> <strong> <del datetime=""> <ul> <ol start=""> <li> <img src="" border="" alt="" height="" width=""> <p style=""> <span style="">