Support » Fixing WordPress » Date not coming out as it should

  • In my options, it says the (default) date format will be:

    Output: October 14, 2006

    However, when I look on my page, it says October 14th, 2006 — with a “th.”

    That “th” has got to go. How do I change it if it already says the date will output the way I want it??

    I hadn’t changed anything from the default F j, Y.

Viewing 1 replies (of 1 total)
  • It’s likely the theme you’re using is passing a format string to the_date() (or the_time() that adds the ordinal suffix to a day’s date.

    To fix this you’ll need to edit your theme’s templates and remove the format string from the_date — or in the case the_time() is being used to output the date, modify to 'F j, Y'.

Viewing 1 replies (of 1 total)
  • The topic ‘Date not coming out as it should’ is closed to new replies.