mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-12 16:30:22 +01:00
* Timesheet: Fix created time was wrong in user timezone was not the same as server timezone
This commit is contained in:
parent
40aaf76796
commit
7f7f59fdb8
@ -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