Skip to content

Commit

Permalink
Add timezone in notification
Browse files Browse the repository at this point in the history
  • Loading branch information
alajusticia committed Apr 29, 2024
1 parent d092bd8 commit 118fd8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Notifications/NewLogin.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public function toMail(mixed $notifiable): MailMessage
->line(__('logins::notifications.new_login.review_information'));

$information = __('logins::notifications.new_login.date', [
'value' => Carbon::make($this->context['date'])->locale(App::getLocale())->isoFormat('LLL') . '(' . Config::get('app.timezone') . ')',
'value' => Carbon::make($this->context['date'])->locale(App::getLocale())->isoFormat('LLL') . ' ' . Config::get('app.timezone'),
]);

if (in_array($this->context['device_type'], ['desktop', 'mobile', 'phone', 'tablet'])) {
Expand Down

0 comments on commit 118fd8e

Please sign in to comment.