|
@@ -596,11 +596,11 @@ WHERE measurement.label NOT IN ('SBP', 'DBP')
|
|
|
$startDate = date_sub(date_create(), date_interval_create_from_date_string("1 month"));
|
|
|
$startDate = date_format($startDate, "Y-m-d");
|
|
|
$patientAcquisitionData = DB::select(DB::raw(
|
|
|
- "SELECT count(id) as count, DATE(created_at) as date " .
|
|
|
+ "SELECT count(id) as count, DATE(created_at at time zone 'utc' at time zone 'est') as date " .
|
|
|
"FROM client " .
|
|
|
"WHERE shadow_pro_id IS NULL " .
|
|
|
- "GROUP BY DATE(created_at) " .
|
|
|
- "ORDER BY DATE(created_at) DESC " .
|
|
|
+ "GROUP BY DATE(created_at at time zone 'utc' at time zone 'est') " .
|
|
|
+ "ORDER BY DATE(created_at at time zone 'utc' at time zone 'est') DESC " .
|
|
|
"LIMIT 30"));
|
|
|
}
|
|
|
|