Recommended releases

Download Released

Output Date fields as AP Style. This module includes:

  • A field formatter for date fields.
  • A views handler for date field display.

Days of the Week

Days of the week should be capitalized and not abbreviated.

Months

  • Capitalize the names of months in all uses.
  • When a month is used with a specific date, you may abbreviate "Jan." "Feb."
    "Aug." "Sept." "Oct." "Nov." and "Dec." All remaining months may not be
    abbreviated.
  • When a phrase uses only a month and a year, do not separate the year with
    commas. When a phrase refers to a month, day and year, set off the year with
    commas: "January 1972 was a cold month." "His birthday is Feb. 14, 1987."

Time

When describing events that have occurred within a seven day time period from
the writing of the story, it is acceptable to use days of the week such as
"Monday." For any period of time beyond these seven days, use a month and a
figure for dates.

  • Use numerical figures except for "noon" and "midnight."
  • Use a colon to separate hours from minutes: "2:30"
  • Keep am/pm letters in lower case, and place periods between them: "p.m."
  • Add a space between the time and the am/pm letters: "2:30 p.m."
  • Spell out the units of measurement in time sequences: "50 hours, 23 minutes,
    14 seconds."

Time before date before place (think TDP).

If the event takes place within the week, use just the day; otherwise use dates:
"The speech will ben 3 p.m. Thursday in Reineke Fine Arts Center."

Requirements

This module requires that the following modules are also enabled:

  • Date (the Backdrop core date module)

Installation

  • Install this module using the official Backdrop CMS instructions at
    https://docs.backdropcms.org/documentation/extend-with-modules.

  • (Optional) Visit the configuration page under Administration > Configuration >
    Content Authoring > AP Style Date Display Settings (admin/config/content/date-ap-style)
    to set your preferences AP style dates (these can be overridden on a per-use basis).

  • Modify any date field display (or views display) to use "AP Date Style".

Issues

Bugs and feature requests should be reported in the Issue Queue.

Current Maintainers

Credits

License

This project is GPL v2 software.
See the LICENSE.txt file in this directory for complete text.