mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-26 23:25:56 -05:00
[web-src] use browser locale for 'time' filter for display
This commit is contained in:
parent
077a642930
commit
3008088b85
@ -23,6 +23,7 @@ import ModalDialogRemotePairing from '@/components/ModalDialogRemotePairing'
|
||||
import webapi from '@/webapi'
|
||||
import * as types from '@/store/mutation_types'
|
||||
import ReconnectingWebSocket from 'reconnectingwebsocket'
|
||||
import moment from 'moment'
|
||||
|
||||
export default {
|
||||
name: 'App',
|
||||
@ -57,6 +58,7 @@ export default {
|
||||
},
|
||||
|
||||
created: function () {
|
||||
moment.locale(navigator.language)
|
||||
this.connect()
|
||||
|
||||
// Start the progress bar on app start
|
||||
|
Loading…
Reference in New Issue
Block a user