forked from extern/egroupware
* Timesheet: Fix created time was wrong in user timezone was not the same as server timezone
This commit is contained in:
parent
5b4a436ab3
commit
779f2691bd
@ -622,7 +622,7 @@ class timesheet_bo extends Api\Storage
|
||||
}
|
||||
if (!$this->data['ts_created'])
|
||||
{
|
||||
$this->data['ts_created'] = time();
|
||||
$this->data['ts_created'] = Api\DateTime::to('now','ts');
|
||||
}
|
||||
if (isset($old) && !$changed)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user