We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b6d270 commit 45914cdCopy full SHA for 45914cd
app/Console/Commands/SendReminder.php
@@ -29,7 +29,7 @@ public function handle()
29
{
30
$tanggal = date('Y-m-d');
31
$reminders = DaftarReminder::with('daftarKegiatan')
32
- ->where('tanggal', $tanggal)
+ ->whereDate('tanggal', $tanggal)
33
->whereTime('waktu_kirim', '<=', date('H:i:s'))
34
->where('status', '!=', 'sent')
35
->get();
0 commit comments