Skip to content

Commit

Permalink
Merge pull request #9 from rmsramos/develop
Browse files Browse the repository at this point in the history
get datetime from config
  • Loading branch information
rmsramos committed Sep 9, 2023
2 parents 1461ca9 + 607de32 commit 276e54e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Resources/ActivitylogResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ public static function getCreatedAtColumnCompoment(): Column
{
return TextColumn::make('created_at')
->label(__('activitylog::tables.columns.created_at.label'))
->dateTime()
->dateTime(config('activitylog.datetime_format', 'd/m/Y H:i:s'))
->sortable();
}

Expand Down

0 comments on commit 276e54e

Please sign in to comment.