[Jifty-commit] r6550 - in jifty/trunk: lib/Jifty
Jifty commits
jifty-commit at lists.jifty.org
Tue Mar 3 17:55:40 EST 2009
Author: sartak
Date: Tue Mar 3 17:55:40 2009
New Revision: 6550
Modified:
jifty/trunk/ (props changed)
jifty/trunk/lib/Jifty/DateTime.pm
Log:
r80833 at onn: sartak | 2009-03-03 17:55:35 -0500
time_zone is only a reader!
Modified: jifty/trunk/lib/Jifty/DateTime.pm
==============================================================================
--- jifty/trunk/lib/Jifty/DateTime.pm (original)
+++ jifty/trunk/lib/Jifty/DateTime.pm Tue Mar 3 17:55:40 2009
@@ -99,7 +99,7 @@
my $self = $class->SUPER::now(%args);
$self->current_user($current_user);
- $self->time_zone($args{time_zone}) if $args{time_zone};
+ $self->set_time_zone($args{time_zone}) if $args{time_zone};
return $self;
}
@@ -118,7 +118,7 @@
my $self = $class->SUPER::from_epoch(%args);
$self->current_user($current_user);
- $self->time_zone($args{time_zone}) if $args{time_zone};
+ $self->set_time_zone($args{time_zone}) if $args{time_zone};
return $self;
}
More information about the Jifty-commit
mailing list