Last Updated Plugins

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

  1. Plugin List. A list of plugins with documentation similar to that below.
  2. 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.

10 seconds ago; 3 minutes ago; 3 hours ago; 1 day ago; 3 days ago; 1 week ago; 1 month ago; 1 month ago; 3 months ago; 1 year ago; 2 years ago.

[ 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.

19:57; 19:54; 16:57; Yesterday; 22 Mar 2024; 17 Mar 2024; 24 Feb 2024; 19 Feb 2024; 23 Dec 2023; 24 Mar 2023; 26 Mar 2021.

[ Last Updated ]

Date Helper Difference

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

Formats date and time difference using formatting utilities of the core date helper.

10 seconds; 3 minutes; 3 hours; 1 day; 3 days; 8 days; 30 days; 35 days; 93 days; 367 days; 1095 days.

[ 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.

just now; a few minutes ago; 3 hours ago; yesterday; 3 days ago; a week ago; 4 weeks ago; a month ago; 3 months ago; a year ago; 3 years ago.

[ 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.

March 25, 2024 at 7:57 pm; March 25, 2024 at 7:54 pm; March 25, 2024 at 4:57 pm; March 24, 2024 at 6:57 pm; March 22, 2024 at 7:57 pm; March 17, 2024 at 7:57 pm; February 24, 2024 at 7:57 pm; February 19, 2024 at 7:57 pm; December 23, 2023 at 7:57 pm; March 24, 2023 at 7:57 pm; March 26, 2021 at 7:57 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.

2024-03-25 19:57:02; 2024-03-25 19:54:12; 2024-03-25 16:57:12; 2024-03-24 18:57:12; 2024-03-22 19:57:12; 2024-03-17 19:57:12; 2024-02-24 19:57:12; 2024-02-19 19:57:12; 2023-12-23 19:57:12; 2023-03-24 19:57:12; 2021-03-26 19:57:12.

[ 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".

March 25, 2024 at 7:57 pm; March 25, 2024 at 7:54 pm; March 25, 2024 at 4:57 pm; March 24, 2024 at 6:57 pm; March 22, 2024 at 7:57 pm; March 17, 2024 at 7:57 pm; February 24, 2024 at 7:57 pm; February 19, 2024 at 7:57 pm; December 23, 2023 at 7:57 pm; March 24, 2023 at 7:57 pm; March 26, 2021 at 7:57 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.

19:57:02; 19:54:12; 16:57:12; 2024-03-24; 2024-03-22; 2024-03-17; 2024-02-24; 2024-02-19; 2023-12-23; 2023-03-24; 2021-03-26.