today date formatting is incorrectly described in the docs
willryanuk opened this issue · 1 comments
willryanuk commented
In the docs for the fileAsyncFileTransport, it states the date format like this:
If you want a new file to be created every day you can use {date-today} in the fileName: app_logs_{date-today}.log -> app_logs_DD-MM-YYYY.log.
But in reality, {date-today} is in fact:
D-M-YYYY
I can also see this in the code:
fileName = fileName.replace("{date-today}", ${d}-${m}-${y}
);
alessandro-bottamedi commented
You right, thanks, doc fixed.