Skip to content

Issue#232 - timestamp format fix#270

Open
PenchalaiahY wants to merge 1 commit intowinstonjs:masterfrom
PenchalaiahY:issue-232-fix
Open

Issue#232 - timestamp format fix#270
PenchalaiahY wants to merge 1 commit intowinstonjs:masterfrom
PenchalaiahY:issue-232-fix

Conversation

@PenchalaiahY
Copy link
Copy Markdown

Found logform module is handling the formatting of timestamp, so added conditional operator to either choose info.timestamp or new Date().

Tested the option using sample code provided in the issue.

Before fix:
image

After fix:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant