mathieudutour / timezone-butler

⏰🤵 A Slack butler who will take care of the timezone differences in your team.
https://timezone-butler.now.sh
ISC License
139 stars 23 forks source link

ISO UTC Timestamps not recognized as such #70

Open Hades32 opened 2 years ago

Hades32 commented 2 years ago

Describe the bug When someone posts log snippets like these, then the time gets translated assuming those timestamps were the user's time, but the Z at the end indicates that these are UTC timestamps:

│ {"level":"debug","msg":"Pinged redis in 1.046889ms","time":"2022-03-08T13:53:36.878Z"}

To Reproduce Steps to reproduce the behavior:

  1. Send the above message

Expected behavior The sending time being interpreted as a UTC timestamp