@@ -80,12 +80,15 @@ export default Vue.extend({
8080
8181 data ( ) {
8282 const
83+ locale = this . __getComputedLocale ( ) ,
8384 { inner, external } = this . __getModels (
8485 this . defaultRangeView === 'start'
8586 ? this . __getFirstSelectedDate ( this . value )
86- : this . __getLastSelectedDate ( this . value ) , this . mask , this . __getComputedLocale ( )
87+ : this . __getLastSelectedDate ( this . value ) ,
88+ this . mask ,
89+ locale
8790 ) ,
88- dates = this . __getDates ( this . value , this . mask , this . __getComputedLocale ( ) ) ,
91+ dates = this . __getDates ( this . value , this . mask , locale ) ,
8992 direction = this . $q . lang . rtl === true ? 'right' : 'left'
9093
9194 return {
@@ -103,12 +106,15 @@ export default Vue.extend({
103106 watch : {
104107 value ( v ) {
105108 const
109+ locale = this . __getComputedLocale ( ) ,
106110 { inner, external } = this . __getModels (
107111 this . defaultRangeView === 'start'
108112 ? this . __getFirstSelectedDate ( v )
109- : this . __getLastSelectedDate ( v ) , this . mask , this . __getComputedLocale ( )
113+ : this . __getLastSelectedDate ( v ) ,
114+ this . mask ,
115+ locale
110116 ) ,
111- dates = this . __getDates ( v , this . mask , this . __getComputedLocale ( ) )
117+ dates = this . __getDates ( v , this . mask , locale )
112118
113119 this . dates = dates
114120
0 commit comments