Skip to content

Commit f40c673

Browse files
committed
feat: Add all 24 hours as notification time options
1 parent 95a71e5 commit f40c673

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

src/services/settings.service.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,12 @@ export function formatHour(hour: number): string {
103103
*/
104104
export function getNotificationHourOptions(): { value: number; label: string }[] {
105105
return [
106+
{ value: 0, label: '12:00 AM' },
107+
{ value: 1, label: '1:00 AM' },
108+
{ value: 2, label: '2:00 AM' },
109+
{ value: 3, label: '3:00 AM' },
110+
{ value: 4, label: '4:00 AM' },
111+
{ value: 5, label: '5:00 AM' },
106112
{ value: 6, label: '6:00 AM' },
107113
{ value: 7, label: '7:00 AM' },
108114
{ value: 8, label: '8:00 AM' },
@@ -119,5 +125,7 @@ export function getNotificationHourOptions(): { value: number; label: string }[]
119125
{ value: 19, label: '7:00 PM' },
120126
{ value: 20, label: '8:00 PM' },
121127
{ value: 21, label: '9:00 PM' },
128+
{ value: 22, label: '10:00 PM' },
129+
{ value: 23, label: '11:00 PM' },
122130
];
123131
}

0 commit comments

Comments
 (0)