Set LocaleTimeString to navigator.language

This commit is contained in:
joker-x 2020-09-16 06:26:05 +02:00 committed by Jonas Herzig
parent 8e653f430c
commit d41b39cb15

View file

@ -368,7 +368,7 @@ class GlobalBindings {
}
this.getTimeString = () => {
return '[' + new Date().toLocaleTimeString('en-US') + ']'
return '[' + new Date().toLocaleTimeString(navigator.language) + ']'
}
this.connect = (username, host, port, tokens = [], password, channelName = "") => {