+2
-1
lines changedFilter options
+2
-1
lines changed Original file line number Diff line number Diff line change
@@ -96,9 +96,10 @@
96
96
dateToHTMLString (date) {
97
97
if (date) {
98
98
let formattedDate = null
99
+
const dateFormat = this.$material.locale.dateFormat || 'YYYY-MM-DD'
99
100
100
101
try {
101
-
formattedDate = format(date, 'YYYY-MM-DD')
102
+
formattedDate = format(date, dateFormat)
102
103
} catch (error) {
103
104
Vue.util.warn(`The datepicker value is not a valid date. Given value: ${date}.`, this)
104
105
}
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4