🔀 Merge pull request #862 from rubenandre/fix/issue-856

Fix issue #856
This commit is contained in:
Alicia Sykes 2022-09-10 22:18:27 +01:00 committed by GitHub
commit edf71fd0ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -57,7 +57,11 @@ export default {
/* Get and format the date */
setDate() {
this.date = new Date().toLocaleDateString(this.timeFormat, {
weekday: 'long', day: 'numeric', year: 'numeric', month: 'short',
weekday: 'long',
day: 'numeric',
year: 'numeric',
month: 'short',
timeZone: this.timeZone,
});
},
},