From 931830af1e58dd98036fc114e6cd2dfb7a402027 Mon Sep 17 00:00:00 2001 From: Joe Atzberger Date: Tue, 8 Apr 2008 11:28:40 -0500 Subject: [PATCH] Dates.pm - trivial perldoc corrections Signed-off-by: Joshua Ferraro --- C4/Dates.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/C4/Dates.pm b/C4/Dates.pm index 040076bb4a..b70b59e82c 100644 --- a/C4/Dates.pm +++ b/C4/Dates.pm @@ -263,9 +263,9 @@ Or even: print C4::Dates->new($date_from_database,"iso")->output("syspref"); -If you just want to know what the is, you can use: +If you just want to know what the is, a default Dates object can tell you: -C4::Dates-> + C4::Dates->new()->format(); =head2 ->DHMTLcalendar([date_format]) @@ -289,7 +289,7 @@ To validate before creating a new object, use the regexp method of the class: $input =~ C4::Dates->regexp("iso") or deal_with_it("input ($input) invalid as iso format"); my $date = C4::Dates->new($input,"iso"); -More verose debugging messages are sent in the presence of non-zero $ENV{"DEBUG"}. +More verbose debugging messages are sent in the presence of non-zero $ENV{"DEBUG"}. =head3 TO DO -- 2.20.1