diff --git a/lib/WebGUI/i18n/English/Macro_D_date.pm b/lib/WebGUI/i18n/English/Macro_D_date.pm index 2bcf7437b..87fd2708f 100644 --- a/lib/WebGUI/i18n/English/Macro_D_date.pm +++ b/lib/WebGUI/i18n/English/Macro_D_date.pm @@ -52,6 +52,8 @@ The current date and time.

You can also pass in an epoch date into this macro as a secondary parameter. If no date is specified then today's date and time will be used.

+

One common task done with this macro is to display the date that an Asset was last modified. It uses the revisionDate template variable which is available for all Assets.

+

^D("%z",);

This Macro may be nested inside other Macros if the formatted date does not contain commas or quotes.

|, diff --git a/lib/WebGUI/i18n/English/Macro_LastModified.pm b/lib/WebGUI/i18n/English/Macro_LastModified.pm index 49a3b674f..876780b37 100644 --- a/lib/WebGUI/i18n/English/Macro_LastModified.pm +++ b/lib/WebGUI/i18n/English/Macro_LastModified.pm @@ -21,13 +21,15 @@ our $I18N = { message => q|

^LastModified;
^LastModified("text","date format");
-Displays the date that the current page was last modified based upon the wobjects on the page. By default, the date is displayed based upon the user's date preferences. Optionally, it can take two parameters. The first is text to display before the date. The second is a date format string (see the date macro, ^D;, for details. +Displays the date that the current page was last edited. By default, the date is displayed based upon the user's date preferences. Optionally, it can take two parameters. The first is text to display before the date. The second is a date format string (see the date macro, ^D;, for details.

Example: ^LastModified("Updated: ","%c %D, %y");

+

If you would like to get the last modified time of Assets on a page, see the Date macro for an example. +

This Macro may be nested inside other Macros if the text it returns does not contain commas or quotes.

|, - lastUpdated => 1168622573, + lastUpdated => 1170179085, }, };