babeldates

Use Babel to format dates.

To install, run nikola plugin -i babeldates

This plugin uses Babel to format dates. It requires DATE_FANCINESS to be 0, and a setting called BABEL_DATE_FORMAT, either a string or a dict. See Babel's documentation for the values that this setting can have.

This plugin is obsolete. Nikola v8 uses Babel by default.

Suggested Configuration:

# DATE_FANCINESS should be set to 0 to activate this plugin.
DATE_FANCINESS = 0
# BABEL_DATE_FORMAT accepts a date format which is recognized by Babel (see http://babel.pocoo.org/en/latest/dates.html for the posibilities). (Translatable)
BABEL_DATE_FORMAT = 'medium'

Requirements:

  • babel (Python package)
  • (Python package)

Issues? Questions?

You can report issues with this plugin and request help via GitHub Issues.