fixed: Calendar date localization can be broken
This commit is contained in:
parent
b09787705e
commit
4f0ea8d9ad
2 changed files with 8 additions and 7 deletions
|
|
@ -7,6 +7,7 @@
|
||||||
- fixed: selecting some field types will crash Thingy
|
- fixed: selecting some field types will crash Thingy
|
||||||
- fixed: Thingy: "add" and "edit" permission problem
|
- fixed: Thingy: "add" and "edit" permission problem
|
||||||
- fixed: EMail field rejects some valid email addresses
|
- fixed: EMail field rejects some valid email addresses
|
||||||
|
- fixed: Calendar date localization can be broken
|
||||||
|
|
||||||
7.5.9
|
7.5.9
|
||||||
- fixed: Collaboration System attachments follow site's max size instead of CS's
|
- fixed: Collaboration System attachments follow site's max size instead of CS's
|
||||||
|
|
|
||||||
|
|
@ -157,13 +157,13 @@ sub new
|
||||||
{
|
{
|
||||||
$self = DateTime->from_epoch(epoch=>$_[0], time_zone=>"UTC", locale=>$locale);
|
$self = DateTime->from_epoch(epoch=>$_[0], time_zone=>"UTC", locale=>$locale);
|
||||||
}
|
}
|
||||||
else
|
else {
|
||||||
{
|
$self = $class->SUPER::new(
|
||||||
$self = $class->SUPER::new(
|
_splitMysql($_[0]),
|
||||||
(_splitMysql($_[0])),
|
time_zone => "UTC",
|
||||||
time_zone => "UTC",
|
locale => $locale,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
#Set the session object
|
#Set the session object
|
||||||
$self->{_session} = $session;
|
$self->{_session} = $session;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue