diff --git a/timesheet/inc/class.timesheet_ui.inc.php b/timesheet/inc/class.timesheet_ui.inc.php index 744a6c5f03..1817277bdf 100644 --- a/timesheet/inc/class.timesheet_ui.inc.php +++ b/timesheet/inc/class.timesheet_ui.inc.php @@ -658,7 +658,7 @@ class timesheet_ui extends timesheet_bo { egw_json_response::get()->call( 'app.timesheet.update_timespan', - egw_time::to($query['startdate'] ? $query['startdate'] : now() ,egw_time::ET2), + egw_time::to($query['startdate'] ? $query['startdate'] : 'now' , egw_time::ET2), $query['filter'] ? egw_time::to($query['enddate'], egw_time::ET2) : null ); }