From 55aa6af23996fc011b41ee4125b19df52575a3f5 Mon Sep 17 00:00:00 2001 From: Tony Grosinger Date: Fri, 23 Aug 2024 18:40:58 -0700 Subject: [PATCH] Correctly start weeks with Sunday The days of the week already reflected this, but the headers did not match. --- src/app/calendar/calendar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/calendar/calendar.tsx b/src/app/calendar/calendar.tsx index e482225..89f1078 100644 --- a/src/app/calendar/calendar.tsx +++ b/src/app/calendar/calendar.tsx @@ -131,7 +131,7 @@ export const CalendarComponent: React.FC<{ calendar: Calendar }> = ({ calendar }
- {[['M', 'on'], ['T', 'ue'], ['W', 'ed'], ['T', 'hu'], ['F', 'ri'], ['S', 'at'], ['S', 'un']].map((d) => ( + {[['S', 'un'], ['M', 'on'], ['T', 'ue'], ['W', 'ed'], ['T', 'hu'], ['F', 'ri'], ['S', 'at']].map((d) => (
{d[0]}{d[1]}