Correct POD for AdminToggle and add POD for 3 new files

This commit is contained in:
Colin Kuskie 2005-12-17 06:10:07 +00:00
parent ddf72f4c31
commit eb98d68777
4 changed files with 74 additions and 2 deletions

View file

@ -13,6 +13,29 @@ package WebGUI::Macro::D_date;
use strict;
use WebGUI::DateTime;
=head1 NAME
Package WebGUI::Macro::D_date
=head1 DESCRIPTION
Macro for displaying dates formatted for reading by people using WebGUI::DateTime::epochToHuman().
=head2 process ( format string, [ date ] )
=head3 format string
A string specifying how to format the date using codes similar to those used by
sprintf. See L<WebGUI::DateTime/"epochToHuman"> for a list of codes.
=head3 date
An optional date in epoch format. If the date is omitted, then the present
time is used instead.
=cut
#-------------------------------------------------------------------
sub process {
my (@param, $temp, $time);