Fix spreadsheet date/time formatting issue - incorrect parsing of user's time

This commit is contained in:
Nathan Gray 2012-02-20 16:15:18 +00:00
parent c70a93e7c1
commit 2b39a7a059

View File

@ -1041,7 +1041,7 @@ abstract class bo_merge
$key = '$$'.$field.'$$';
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'));
}
}