Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request - Adjust Date and Time reporting to ISO standards #32

Open
mjpcomp opened this issue Sep 1, 2021 · 2 comments
Open
Labels
enhancement New feature or request

Comments

@mjpcomp
Copy link

mjpcomp commented Sep 1, 2021

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
Copy link
Author

mjpcomp commented Sep 4, 2021

I think the main issue is with this line:

CLI::writeLine('Scan date: ' . date('d-m-Y H:i:s'));

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

@mjpcomp
Copy link
Author

mjpcomp commented Sep 4, 2021

Sorry, and one more:

'content' => 'Scan date: ' . date('d-m-Y H:i:s') . CLI::eol(1) . implode(CLI::eol(2), self::$report['ignored']),

marcocesarato added a commit that referenced this issue Sep 4, 2021
@marcocesarato marcocesarato added the enhancement New feature or request label Sep 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants