rmsramos/activitylog

Dates should be formatted to `datetime_format` (not only `created_at` fields)

Closed this issue · 0 comments

Package Version

v1.0.4

Laravel Version

v11.22.0

PHP Version

PHP 8.3

Problem description

Currently, only created_at fields are formatted to the value defined in datetime_format from the config.

image
image

Expected behavior

All dates should follow the format from config.filament-activitylog.datetime_format (or a default like d/m/Y H:i:s).

Steps to reproduce

Just display the TimeLine or RelationManager where a datetime field has been changed to show the date without formatting (e.g. 2024-09-10T18:54:30.000000Z).

Reproduction repository (issue will be closed if this is not valid)

https://github.com/rmsramos/activitylog

Relevant log output

No response