refactor(app): 优化邮件模板

master
cody 4 weeks ago
parent bc1c3e7ba9
commit 0e30b184b8

@ -98,9 +98,9 @@ class MeetRepository
while ($currentDate->format('Y-m-d') <= $endDateTime->format('Y-m-d')) { while ($currentDate->format('Y-m-d') <= $endDateTime->format('Y-m-d')) {
$dayStart = clone $currentDate; $dayStart = clone $currentDate;
$dayStart->setTime(0, 0, 0); $dayStart->setTime(6, 0, 0);
$dayEnd = clone $currentDate; $dayEnd = clone $currentDate;
$dayEnd->setTime(23, 59, 59); $dayEnd->setTime(23, 0, 0);
if ($currentDate->format('Y-m-d') === $startDateTime->format('Y-m-d')) { if ($currentDate->format('Y-m-d') === $startDateTime->format('Y-m-d')) {
$dayStart = clone $startDateTime; $dayStart = clone $startDateTime;

Loading…
Cancel
Save