fixed: Calendar date localization can be broken

This commit is contained in:
Graham Knop 2008-04-08 14:22:20 +00:00
parent b09787705e
commit 4f0ea8d9ad
2 changed files with 8 additions and 7 deletions

View file

@ -157,13 +157,13 @@ sub new
{
$self = DateTime->from_epoch(epoch=>$_[0], time_zone=>"UTC", locale=>$locale);
}
else
{
$self = $class->SUPER::new(
(_splitMysql($_[0])),
time_zone => "UTC",
);
}
else {
$self = $class->SUPER::new(
_splitMysql($_[0]),
time_zone => "UTC",
locale => $locale,
);
}
#Set the session object
$self->{_session} = $session;