Last Updated Plugins

Last Updated provides dashboard pages at: The dashboard pages have moved to Dashboard > Stacks & Blocks > Last Updated.

Plugin List. A list of plugins with documentation similar to that below.

Global Settings. A version of the block edit dialog for setting global settings and defaults

[
Last Updated ]

Last Updated Plugins

Last Updated plugins provide formatting of date/time to show with the Last Updated block.

Functionality can be extended by adding plugin classes for additional Updated Plugins. Last Updated plugins are simple classes that provide the functionality to adapt Last Updated to alternative date/time formatting. They should inherit from UpdatedPluginBase. Details are provided by comments in the code.

Plugins can be added by placing the plugin classes at packages/anyPackageName/src/JtF/LastUpdated/UpdatedPlugins/PluginName or application/src/JtF/LastUpdated/UpdatedPlugins/PluginName. Plugins can also be similarly placed beneath the plugin type's namespace declared in a package controller's AutoloaderRegistries.

[
Last Updated ]

Carbon Humans

Formatted using carbon library difference for humans.

Use the carbon.php class and the diffForHumans() method to format the time differnce.

[
Last Updated ]

Date Helper Absolute

Use the core date helper to present formatted date/time.

Formats date and time using formatting utilities of the core date helper. Optionally show the full timestamp, date only, or contextual version based on how long ago, with time only for less than one day and either date only or a full timestamp for greater than one day.

[
Last Updated ]

Friendly Time

Very simple translation of interval into a frendly note about time.

Formats date and time to a resolution of the largest unit, such as seconds, minutes, hours, days, weeks, months. Makes approximations that are not stricly correct, but if you can accept slight liberties with intervals, this could be what you want.

[
Last Updated ]

Legacy Constants

Use the format string constants from legacy concrete5.

Formats date and time using the date/time strings provided as constants in the legacy version of concrete5.

May 31, 2020 at 3:43 pm; May 31, 2020 at 3:40 pm; May 31, 2020 at 12:43 pm; May 30, 2020 at 2:43 pm; May 28, 2020 at 3:43 pm; May 23, 2020 at 3:43 pm; May 01, 2020 at 3:43 pm; April 26, 2020 at 3:43 pm; February 28, 2020 at 2:43 pm; May 30, 2019 at 3:43 pm; June 01, 2017 at 3:43 pm.

[
Last Updated ]

None

Apply no time formatting. Simply return what was provided.

Provided as a minimal example from which other updated plugings can be designed.

[
Last Updated ]

PHP Date Format

Format using a PHP date format string.

Formats date and time using the core date helper with your own format string with the format characters and constants specified in the PHP Documentation. The default is the string used in concrete5.6: "F d, Y \a\t g:i A".

May 31, 2020 at 3:43 pm; May 31, 2020 at 3:40 pm; May 31, 2020 at 12:43 pm; May 30, 2020 at 2:43 pm; May 28, 2020 at 3:43 pm; May 23, 2020 at 3:43 pm; May 01, 2020 at 3:43 pm; April 26, 2020 at 3:43 pm; February 28, 2020 at 2:43 pm; May 30, 2019 at 3:43 pm; June 01, 2017 at 3:43 pm.

[
Last Updated ]

SQL Time

Formatted as a database timestamp.

Optionally show the full timestamp, date only, or contextual version based on how long ago, with time only for less than one day and either date only or a full timestamp for greater than one day.