PHP-Antimalware-Scanner icon indicating copy to clipboard operation
PHP-Antimalware-Scanner copied to clipboard

Feature Request - Adjust Date and Time reporting to ISO standards

Open mjpcomp opened this issue 3 years ago • 2 comments

Looks like the date/time in reports/logs is using the British/EU standard format of YYYY-DD-MM, but, the ISO standard should be used https://www.iso.org/iso-8601-date-and-time-format.html as it is the more uniform date/time format that is unambiguous... YYYY-MM-DD (Least to Most significant)

mjpcomp avatar Sep 01 '21 00:09 mjpcomp

I think the main issue is with this line: https://github.com/marcocesarato/PHP-Antimalware-Scanner/blob/2d2c409b9d554e6f2b7aef7b4204ce00d598b296/src/Scanner.php#L363

Noticed that the reports are Y-M-D, but, the CLI isn't...

mjpcomp avatar Sep 04 '21 00:09 mjpcomp

Sorry, and one more: https://github.com/marcocesarato/PHP-Antimalware-Scanner/blob/2d2c409b9d554e6f2b7aef7b4204ce00d598b296/src/Scanner.php#L1499

mjpcomp avatar Sep 04 '21 00:09 mjpcomp