Skip to content

Commit

Permalink
feat: add summer program
Browse files Browse the repository at this point in the history
  • Loading branch information
serafdev committed Jul 16, 2024
1 parent 7e57cff commit f9721eb
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion pkg/rec/rec_iqama.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ func NewRecordConfigDataS() *RecordConfigDataS {

fajr := today.Fajr.Iqama
maghrib := today.Maghrib.Iqama
asr := today.Asr.Iqama
todaysData := &[]RecordConfig{
{
Description: "Fajr Recording",
Expand All @@ -55,9 +56,15 @@ func NewRecordConfigDataS() *RecordConfigDataS {
{
Description: "Saturday Dars",
StartTime: maghrib,
Duration: 1*time.Hour + 30*time.Minute,
Duration: 2 * time.Hour,
RecordingDays: []time.Weekday{time.Saturday},
},
{
Description: "Summer Program",
StartTime: asr,
Duration: 2 * time.Hour,
RecordingDays: []time.Weekday{time.Sunday, time.Tuesday, time.Thursday},
},
}
fullData := append(*rc.data, *todaysData...)
rc.data = &fullData
Expand Down

0 comments on commit f9721eb

Please sign in to comment.