From 6105aafbe6412db6df629c2d7def711cf5ac688d Mon Sep 17 00:00:00 2001 From: Fares Bessrour Date: Sat, 6 Jul 2024 15:28:09 -0400 Subject: [PATCH] feat: add saturday dars hours for rec --- pkg/rec/rec_iqama.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkg/rec/rec_iqama.go b/pkg/rec/rec_iqama.go index 03903b6..3db5bcf 100644 --- a/pkg/rec/rec_iqama.go +++ b/pkg/rec/rec_iqama.go @@ -44,6 +44,7 @@ func NewRecordConfigDataS() *RecordConfigDataS { } fajr := today.Fajr.Iqama + maghrib := today.Maghrib.Iqama todaysData := &[]RecordConfig{ { Description: "Fajr Recording", @@ -51,6 +52,12 @@ func NewRecordConfigDataS() *RecordConfigDataS { Duration: DarsRecordDuration, RecordingDays: EveryDay, }, + { + Description: "Saturday Dars", + StartTime: maghrib, + Duration: 1*time.Hour + 30*time.Minute, + RecordingDays: []time.Weekday{time.Saturday}, + }, } fullData := append(*rc.data, *todaysData...) rc.data = &fullData