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

Incorrect Timestamp conversion for "RFC5424" #19

Open
UpeksheJay opened this issue Apr 29, 2020 · 0 comments
Open

Incorrect Timestamp conversion for "RFC5424" #19

UpeksheJay opened this issue Apr 29, 2020 · 0 comments

Comments

@UpeksheJay
Copy link

Describe the bug
SyslogPro RFC5424 is using moment for time formatting but in the format strings, the hour formatting is given as 'hh' not 'HH' which results in 12-hour time formatting. In this way. an event happened at 00:12:23 will be formatted to 12:12:23. This is error-prone. Therefore please change the formatting strings

To Reproduce
Steps to reproduce the behavior:
Look at '// RFC5424 timestamp formating' section in code (index.js)

Expected behavior
Timestamp formatting in RFC5424 to support 24 hour support

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows
  • Browser Node
  • Version 11.15
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

No branches or pull requests

1 participant