mirror of
https://github.com/Lissy93/dashy.git
synced 2026-01-09 09:23:26 +01:00
commit
edf71fd0ad
1 changed files with 5 additions and 1 deletions
|
|
@ -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,
|
||||
});
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue