5
5
Ответвление 5
Этот коммит содержится в:
Arnaud Vergnet 2020-04-16 10:18:38 +02:00
родитель 912a30edc6
коммит 28168aacf8
2 изменённых файлов: 5 добавлений и 0 удалений

Просмотреть файл

@ -58,4 +58,8 @@ export default class DateManager {
return this.daysOfWeek[date.getDay()] + " " + date.getDate() + " " + this.monthsOfYear[date.getMonth()] + " " + date.getFullYear(); return this.daysOfWeek[date.getDay()] + " " + date.getDate() + " " + this.monthsOfYear[date.getMonth()] + " " + date.getFullYear();
} }
static isWeekend(date: Date) {
return date.getDay() === 6 || date.getDay() === 0;
}
} }

Просмотреть файл

@ -191,6 +191,7 @@ class PlanexScreen extends React.Component<Props, State> {
+ OBSERVE_MUTATIONS_INJECTED + OBSERVE_MUTATIONS_INJECTED
+ FULL_CALENDAR_SETTINGS + FULL_CALENDAR_SETTINGS
+ "displayAde(" + groupID + ");" // Reset Ade + "displayAde(" + groupID + ");" // Reset Ade
+ (DateManager.isWeekend(new Date()) ? "calendar.next()" : "")
+ LISTEN_TO_MESSAGES + LISTEN_TO_MESSAGES
+ INJECT_STYLE; + INJECT_STYLE;