forked from extern/egroupware
Fix spreadsheet date/time formatting issue - incorrect parsing of user's time
This commit is contained in:
parent
c70a93e7c1
commit
2b39a7a059
@ -1041,7 +1041,7 @@ abstract class bo_merge
|
|||||||
$key = '$$'.$field.'$$';
|
$key = '$$'.$field.'$$';
|
||||||
if($values[$key])
|
if($values[$key])
|
||||||
{
|
{
|
||||||
$date = egw_time::createFromFormat($this->datetime_format,$values[$key]);
|
$date = new egw_time($values[$key]);
|
||||||
$values[$key] = date('Y-m-d\TH:i:s',egw_time::to($date,'ts'));
|
$values[$key] = date('Y-m-d\TH:i:s',egw_time::to($date,'ts'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user