[Jifty-commit] r6551 - in jifty/trunk: lib/Jifty

Jifty commits jifty-commit at lists.jifty.org
Tue Mar 3 18:43:42 EST 2009


Author: sartak
Date: Tue Mar  3 18:43:42 2009
New Revision: 6551

Modified:
   jifty/trunk/   (props changed)
   jifty/trunk/lib/Jifty/DateTime.pm

Log:
 r80835 at onn:  sartak | 2009-03-03 18:43:12 -0500
 Use the setter not the getter for hour, minute, and second


Modified: jifty/trunk/lib/Jifty/DateTime.pm
==============================================================================
--- jifty/trunk/lib/Jifty/DateTime.pm	(original)
+++ jifty/trunk/lib/Jifty/DateTime.pm	Tue Mar  3 18:43:42 2009
@@ -69,9 +69,9 @@
     $self->time_zone($args{time_zone}) if $args{time_zone};
 
     if ($is_date) {
-        $self->hour(0);
-        $self->minute(0);
-        $self->second(0);
+        $self->set_hour(0);
+        $self->set_minute(0);
+        $self->set_second(0);
         $self->set_time_zone('floating');
     }
 


More information about the Jifty-commit mailing list