mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
* 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'])
|
if (!$this->data['ts_created'])
|
||||||
{
|
{
|
||||||
$this->data['ts_created'] = time();
|
$this->data['ts_created'] = Api\DateTime::to('now','ts');
|
||||||
}
|
}
|
||||||
if (isset($old) && !$changed)
|
if (isset($old) && !$changed)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user