mirror of
https://github.com/docusealco/docuseal
synced 2026-11-07 23:32:33 -05:00
adjust templates, add timezone and locale
This commit is contained in:
1 parent
d0c7d449d5
commit
c904d51302
47 files changed
+331
-171
No files matched your search
@@ -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 ''
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user