mag icon indicating copy to clipboard operation
mag copied to clipboard

ISO formatted time

Open envilogger opened this issue 9 years ago • 1 comments

Hi

I found that you're using toLocaleTimeString() method to write timestamp It might cause problems in some cases (ie if different locale is set on different environments and local developers machine) So, for example, if locale is set to en-us timestamp looks like 4:32:46 PM.765 I think it's better to use ISO formatted time, ie 16:32:46.765

envilogger avatar Dec 20 '15 13:12 envilogger

Hi @envilogger

Yes, using toLocaleTimeString method isn't good idea. But for mag-fallback module I think it will be enough to have only time in the message. I will try to implement it using getUTC* methods.

mahnunchik avatar Dec 26 '15 15:12 mahnunchik