diff options
| author | Colin Davidson <colrdavidson@gmail.com> | 2024-10-10 09:19:04 -0700 |
|---|---|---|
| committer | Colin Davidson <colrdavidson@gmail.com> | 2024-10-10 09:19:04 -0700 |
| commit | ba6203f8d35e508d0d0777a2ccda0aabcf83b3b4 (patch) | |
| tree | b142cff34854ca3e36eaa7230fc0b0d4687888f5 | |
| parent | 4c8e3554446caa8894fef17b536f9b043177b23a (diff) | |
sort out windows enum names too
| -rw-r--r-- | core/time/timezone/tz_windows.odin | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/time/timezone/tz_windows.odin b/core/time/timezone/tz_windows.odin index 670e238f1..f1604b939 100644 --- a/core/time/timezone/tz_windows.odin +++ b/core/time/timezone/tz_windows.odin @@ -214,7 +214,7 @@ generate_rrule_from_tzi :: proc(tzi: ^REG_TZI_FORMAT, abbrevs: TZ_Abbrev, alloca std_name = std_name, std_offset = -(i64(tzi.bias) + i64(tzi.std_bias)) * 60, dst_date = datetime.TZ_Transition_Date{ - type = .MonthWeekDay, + type = .Month_Week_Day, month = u8(tzi.std_date.month), week = u8(tzi.std_date.day), day = tzi.std_date.day_of_week, @@ -224,7 +224,7 @@ generate_rrule_from_tzi :: proc(tzi: ^REG_TZI_FORMAT, abbrevs: TZ_Abbrev, alloca dst_name = dst_name, dst_offset = -(i64(tzi.bias) + i64(tzi.dst_bias)) * 60, std_date = datetime.TZ_Transition_Date{ - type = .MonthWeekDay, + type = .Month_Week_Day, month = u8(tzi.dst_date.month), week = u8(tzi.dst_date.day), day = tzi.dst_date.day_of_week, |