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; 4 weeks 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.

11:46; 11:43; 08:46; Yesterday; 28 Oct 2024; 23 Oct 2024; 1 Oct 2024; 26 Sept 2024; 30 Jul 2024; 30 Oct 2023; 1 Nov 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.

October 31, 2024 at 11:46 am; October 31, 2024 at 11:43 am; October 31, 2024 at 8:46 am; October 30, 2024 at 10:46 am; October 28, 2024 at 11:46 am; October 23, 2024 at 12:46 pm; October 01, 2024 at 12:46 pm; September 26, 2024 at 12:46 pm; July 30, 2024 at 12:46 pm; October 30, 2023 at 11:46 am; November 01, 2021 at 11:46 am.

[ 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-10-31 11:46:47; 2024-10-31 11:43:57; 2024-10-31 08:46:57; 2024-10-30 10:46:57; 2024-10-28 11:46:57; 2024-10-23 12:46:57; 2024-10-01 12:46:57; 2024-09-26 12:46:57; 2024-07-30 12:46:57; 2023-10-30 11:46:57; 2021-11-01 11:46:57.

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

October 31, 2024 at 11:46 am; October 31, 2024 at 11:43 am; October 31, 2024 at 8:46 am; October 30, 2024 at 10:46 am; October 28, 2024 at 11:46 am; October 23, 2024 at 12:46 pm; October 01, 2024 at 12:46 pm; September 26, 2024 at 12:46 pm; July 30, 2024 at 12:46 pm; October 30, 2023 at 11:46 am; November 01, 2021 at 11:46 am.

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

11:46:47; 11:43:57; 08:46:57; 2024-10-30; 2024-10-28; 2024-10-23; 2024-10-01; 2024-09-26; 2024-07-30; 2023-10-30; 2021-11-01.