@mathieustan/vue-datepicker
Advanced tools
Comparing version 0.1.0-rc.5 to 0.1.0-rc.6
{ | ||
"name": "@mathieustan/vue-datepicker", | ||
"description": "A clean datepicker made with VueJs", | ||
"version": "0.1.0-rc.5", | ||
"version": "0.1.0-rc.6", | ||
"author": "Mathieu Stanowski <mathieu.stan@gmail.com>", | ||
@@ -6,0 +6,0 @@ "keywords": [ |
@@ -22,3 +22,3 @@ import dayjs from 'dayjs'; | ||
const locale = locales[lang] || locales.en; | ||
dayjs.locale(locale, null, true); | ||
dayjs.locale(locale); | ||
this.start = dayjs().year(year).month(month).startOf('month'); | ||
@@ -74,3 +74,3 @@ this.end = this.start.endOf('month'); | ||
const locale = locales[lang] || locales.en; | ||
dayjs.locale(locale, null, true); | ||
dayjs.locale(locale); | ||
} | ||
@@ -112,3 +112,3 @@ | ||
const locale = locales[lang] || locales.en; | ||
return date.locale(locale, null, true).format(format); | ||
return date.locale(locale).format(format); | ||
} | ||
@@ -115,0 +115,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
617567