Are you enjoying the extensions? Did you like the support? Help others decide.

Leave a review
Information
Print

Time

Information
Article Details

Shows a specific time in a specified format.

Requirements

None.
The configuration options Show Create Date, Show Modify Date and Show Publish Date are NOT taken into account.

Example

Time example

Language overrides

None.

Internationalization

To add text before the time in a multilingual environment, override the constant keys:

  • PLG_CONTENT_ARTICLEDETAILS_PREPEND_CREATEDTIME (when using the created date)
  • PLG_CONTENT_ARTICLEDETAILS_PREPEND_MODIFIEDTIME (when using the modified date)
  • PLG_CONTENT_ARTICLEDETAILS_PREPEND_PUBLISHEDTIME (when using the published date)
  • PLG_CONTENT_ARTICLEDETAILS_PREPEND_FINISHEDTIME (when using the finished date)

The format can also be different for each language. Override the constant key PLG_CONTENT_ARTICLEDETAILS_FORMAT_TIME and add a specific format as value.

For instance, set the key's value H:i, following the syntax documented at http://php.net/manual/en/function.date.php (this page can be seen in different languages. Change the en value in the url with your language code).