mirror of https://github.com/keeweb/keeweb
fix #1755: calendar tooltips in different time zones
parent
7ab0e83f55
commit
0f5466e075
|
@ -24,7 +24,7 @@ const DateFormat = {
|
|||
const format = new Intl.DateTimeFormat(SettingsManager.activeLocale, { weekday: 'short' });
|
||||
const weekdays = [];
|
||||
for (let day = 1; day < 8; day++) {
|
||||
weekdays.push(format.format(new Date(Date.UTC(2007, 9, 6 + day))));
|
||||
weekdays.push(format.format(new Date(2007, 9, 6 + day)));
|
||||
}
|
||||
return weekdays;
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue