mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-27 15:45: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 webapi from '@/webapi'
|
||||||
import * as types from '@/store/mutation_types'
|
import * as types from '@/store/mutation_types'
|
||||||
import ReconnectingWebSocket from 'reconnectingwebsocket'
|
import ReconnectingWebSocket from 'reconnectingwebsocket'
|
||||||
|
import moment from 'moment'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'App',
|
name: 'App',
|
||||||
@ -57,6 +58,7 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
created: function () {
|
created: function () {
|
||||||
|
moment.locale(navigator.language)
|
||||||
this.connect()
|
this.connect()
|
||||||
|
|
||||||
// Start the progress bar on app start
|
// Start the progress bar on app start
|
||||||
|
Loading…
Reference in New Issue
Block a user