Skip to content

Commit

Permalink
Merge pull request #174 from rthomas023/patch-1
Browse files Browse the repository at this point in the history
Added $dateFormat for MS SQL Server support
  • Loading branch information
antonioribeiro committed Aug 1, 2020
2 parents 86557b1 + f308d28 commit eeacccf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Data/Models/HealthCheck.php
Expand Up @@ -28,4 +28,10 @@ class HealthCheck extends Model
* @var string
*/
const UPDATED_AT = null;

/**
* @var string
* Set $dateFormat due to Carbon rawCreateFromFormat issue with MS SQL Server datetime format, which includes milliseconds.
*/
protected $dateFormat = 'Y-m-d H:i:s';
}

0 comments on commit eeacccf

Please sign in to comment.