Set LocaleTimeString to navigator.language
This commit is contained in:
parent
8e653f430c
commit
d41b39cb15
|
@ -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 = "") => {
|
||||
|
|
Loading…
Reference in a new issue