diff --git a/src/front/src/components/calendar_of_events/UI_calendar/calendarFull.vue b/src/front/src/components/calendar_of_events/UI_calendar/calendarFull.vue
index 8416052f0..4637232c5 100644
--- a/src/front/src/components/calendar_of_events/UI_calendar/calendarFull.vue
+++ b/src/front/src/components/calendar_of_events/UI_calendar/calendarFull.vue
@@ -117,26 +117,16 @@ export default {
let objRule = JSON.parse(i.period);
// console.log(objRule.origOptions, "распар правила");
- console.log(i, "i");
-
-
- //
+ //
if (objRule != null) {
+ let startnew =
+ objRule.origOptions.dtstart.split("T")[1].split(":")[0] != 21 &&
+ i.allday == false
+ ? new Date(objRule.origOptions.dtstart)
+ : new Date(objRule.origOptions.dtstart.split("T")[0]);
-
- let startnew =
- (objRule.origOptions.dtstart.split('T')[1].split(':')[0] != 21 && i.allday == false)
- ? new Date(objRule.origOptions.dtstart)
- : new Date(objRule.origOptions.dtstart.split('T')[0])
-
-
-
- console.log(objRule.origOptions.dtstart.split('T')[1].split(':')[0] != 21 || i.allday == false , '1')
-
- console.log(startnew,' startnew')
-
let rule = new RRule({
...objRule.origOptions,
@@ -148,10 +138,7 @@ export default {
});
let actRule = rule.all();
- console.log(
- actRule,
- "actRule-------------------------------------"
- );
+
let lastDateMonth = new Date(
new Date(dayNextMonth.value).setDate(
new Date(dayNextMonth.value).getDate() - 1
@@ -329,30 +316,21 @@ export default {
ev.rule.byweekday[ev.rule.byweekday.length - 1].weekday == 6
? 0
: ev.rule.byweekday[ev.rule.byweekday.length - 1].weekday + 1;
-
+
if (day.date.getDay() == weeknumS && weeknumS != weeknumE) {
return "rounded-e-lg";
} else if (day.date.getDay() == weeknumE && weeknumS != weeknumE) {
return "rounded-s-lg";
+ } else if (
+ day.date.getDay() != weeknumS &&
+ day.date.getDay() != weeknumE
+ ) {
+ return "rounded-sm";
} else {
- return "";
+ return "rounded-lg";
}
- // if (
- // zeroTime(day.date) != zeroTime(ev.start_event) &&
- // zeroTime(day.date) != zeroTime(ev.end)
- // ) {
- // return "rounded-sm";
- // } else if (
- // zeroTime(day.date) == zeroTime(ev.start_event) &&
- // zeroTime(day.date) == zeroTime(ev.end)
- // ) {
- // return "";
- // } else if (zeroTime(day.date) != zeroTime(ev.start_event)) {
- // return "rounded-s-lg";
- // } else if (zeroTime(day.date) == zeroTime(ev.start_event)) {
- // return "rounded-e-lg";
- // }
+
}
};
diff --git a/src/front/src/components/calendar_of_events/UI_calendar/dialogCreate.vue b/src/front/src/components/calendar_of_events/UI_calendar/dialogCreate.vue
index d98803483..256f84ab5 100644
--- a/src/front/src/components/calendar_of_events/UI_calendar/dialogCreate.vue
+++ b/src/front/src/components/calendar_of_events/UI_calendar/dialogCreate.vue
@@ -1,7 +1,7 @@
- {{ title }} {{newOrOld}}
+ {{ title }} {{ newOrOld }}
-
+
-
+
+
-