adjust templates, add timezone and locale

This commit is contained in:
Alex Turchyn committed 2023-06-30 01:49:48 +03:00
1 parent d0c7d449d5
commit c904d51302
47 files changed
+331 -171

No files matched your search

+1 -1
View File
@@ -207,7 +207,7 @@ export default {
},
formattedDate () {
if (this.field.type === 'date' && this.modelValue) {
return new Intl.DateTimeFormat({ year: 'numeric', month: 'numeric', day: 'numeric' }).format(new Date(this.modelValue))
return new Intl.DateTimeFormat([], { year: 'numeric', month: 'long', day: 'numeric' }).format(new Date(this.modelValue))
} else {
return ''
}