Skip to content

Commit

Permalink
Fix. FSWatcher. Changed date format fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
Glomberg committed Oct 28, 2024
1 parent 54b8ee2 commit eb0dbde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/CleantalkSP/SpbctWP/FSWatcher/View/View.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ protected static function renderSelectorOptions($dates)

$html = '';
foreach ($dates as $date) {
$formated_date = date('M d Y H:i:s', $date);
$formated_date = date('Y-m-d H:i:s', $date);
$html .= '<option value="' . $date . '">' . $formated_date . '</option>';
}

Expand Down

0 comments on commit eb0dbde

Please sign in to comment.