Skip to content

Commit

Permalink
remove deprecated strftime in 4.1 branch
Browse files Browse the repository at this point in the history
  • Loading branch information
pxpm committed Aug 8, 2022
1 parent 6c335a8 commit 029bf53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/resources/views/crud/fields/datetime.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
$timestamp = strtotime(old(square_brackets_to_dots($field['name'])) ? old(square_brackets_to_dots($field['name'])) : (isset($field['value']) ? $field['value'] : (isset($field['default']) ? $field['default'] : '' )));
$value = $timestamp ? strftime('%Y-%m-%dT%H:%M:%S', $timestamp) : '';
$value = $timestamp ? date('Y-m-d\TH:i:s', $timestamp) : '';
@endphp

@include('crud::fields.inc.wrapper_start')
Expand Down

0 comments on commit 029bf53

Please sign in to comment.