No need to formatDateValues
Opened this issue · 1 comments
ccxop commented
Package Version
v1.0.7
Laravel Version
v11.27.2
PHP Version
php 8.2
Problem description
\Rmsramos\Activitylog\Actions\Concerns\ActionContent::formatDateValues
if column is a decimal value:
$value = Carbon::parse('1.00')->format('d/m/Y H:i:s');
result is 01/01/1970 00:00:01
I think it is no need to format any value, because the log looks at the original value is make sense###
Expected behavior
no need to format any value
Steps to reproduce
\Rmsramos\Activitylog\Actions\Concerns\ActionContent::formatDateValues
if column is a decimal value:
$value = Carbon::parse('1.00')->format('d/m/Y H:i:s');
result is 01/01/1970 00:00:01
Reproduction repository (issue will be closed if this is not valid)
https://github.com/rmsramos/activitylog
Relevant log output
No response
marcogermani87 commented
Fix proposed with PR #61