Skip to content

Commit

Permalink
0.0.22
Browse files Browse the repository at this point in the history
- Change `date_time` to `datetime`
  • Loading branch information
ewilan-riviere committed Jul 27, 2023
1 parent 5815e84 commit 69081c0
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ trim_trailing_whitespace = true
[*.md]
trim_trailing_whitespace = false

[*.{yml,yaml}]
[*.{yml,yaml,json}]
indent_size = 2
40 changes: 40 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "Install",
"type": "shell",
"command": "composer install",
"problemMatcher": [],
"presentation": {
"reveal": "silent",
"revealProblems": "onProblem",
"close": true
}
},
{
"label": "Update",
"type": "shell",
"command": "composer update",
"problemMatcher": [],
"presentation": {
"reveal": "silent",
"revealProblems": "onProblem",
"close": true
}
},
{
"label": "Test",
"type": "shell",
"command": "composer test",
"problemMatcher": [],
"presentation": {
"reveal": "silent",
"revealProblems": "onProblem",
"close": true
}
}
]
}
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "kiwilan/sentinel-laravel",
"description": "PHP package for Laravel to send errors to Sentinel.",
"version": "0.0.21",
"version": "0.0.22",
"keywords": [
"kiwilan",
"laravel",
Expand Down
2 changes: 1 addition & 1 deletion src/Sentinel.php
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ private function setPayload(): array
'user_agent' => $this->error->userAgent(),
'ip' => $this->error->ip(),
'base_path' => $this->error->basePath(),
'date_time' => now(config('app.timezone'))->toDateTimeString(),
'datetime' => now(config('app.timezone'))->toDateTimeString(),
'timezone' => config('app.timezone'),
'current' => $this->error->current()?->toArray(),
];
Expand Down

0 comments on commit 69081c0

Please sign in to comment.