WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

AP Style Dates and Times

Formats the date and time of your posts and comments into Associated Press Style.

This plugin changes the format of the dates and times of your posts and comments to match Associated Press Style. This is perfect for news and magazine sites running WordPress and for those blog writers with a penchant for style consistency.

Here's what it does:

  • Adds periods to "am" and "pm" so they become "a.m." and "p.m."
  • Removes extraneous zeros when the time is at the top of the hour. "1:00 p.m." becomes "1 p.m."
  • Changes "12:00 a.m." to "midnight" and "12:00 p.m." to "noon."
  • Correctly abbreviates months in the date to match AP Style rules. Those are: "Jan." "Feb." "March" "April" "May" "June" "July" "Aug." "Sept." "Oct." "Nov." "Dec."

Optional features:

  • If the post year is the same as the current year, you can set it to not print the year in the date output to adhere to AP Style rules.
  • If the date of the post is the same as the current date, you can set it too print "today" instead of the date. Technically that's not an AP Style rule, but a common newspaper style nonetheless.
  • You can have it capitalize the words "today," "noon" and "midnight."

Therefore, if your post was published at 1:13 in the afternoon on September 22, 2007, this plugin will make the time look like "1:13 p.m." and date look like "Sept. 22, 2007"

Requires: 2.5 or higher
Compatible up to: 2.9.2
Last Updated: 2010-3-3
Downloads: 3,840

Ratings

5 stars
5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1
100,1,1