Skip to content

Commit 41d5c87

Browse files
unknownunknown
authored andcommitted
#5-08-2024
1 parent 452254a commit 41d5c87

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • appsTeacher/groups/site_files/js

appsTeacher/groups/site_files/js/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ app.controller("groups", function ($scope, $http, $timeout) {
461461
let index = item.days.findIndex((itm) => itm.code === start.getDay());
462462
if (index !== -1 && new Date(start) <= new Date(end)) {
463463
let _start = new Date(start);
464-
_start.setHours(0, 0, 0, 0);
464+
_start.setHours(12, 0, 0, 0);
465465
item.dayList.push({ date: _start, day: item.days[index] });
466466
}
467467
if (new Date(start) == new Date(end)) {

0 commit comments

Comments
 (0)