tweaks per laytan suggestions

This commit is contained in:
Colin Davidson
2024-12-01 11:54:50 +11:00
committed by flysand7
parent fc9983e9c8
commit 8875921ec7
11 changed files with 33 additions and 42 deletions
+2 -2
View File
@@ -282,7 +282,7 @@ parse_posix_rrule :: proc(str: string) -> (out: datetime.TZ_Transition_Date, idx
}
return datetime.TZ_Transition_Date{
type = .NoLeap,
type = .No_Leap,
day = u16(day),
time = offset,
}, i, true
@@ -350,7 +350,7 @@ parse_posix_rrule :: proc(str: string) -> (out: datetime.TZ_Transition_Date, idx
}
return datetime.TZ_Transition_Date{
type = .MonthWeekDay,
type = .Month_Week_Day,
month = u8(month),
week = u8(week),
day = u16(day),