| author | |
| committer | |
| log | 076f7e5bd5389e159865d99e0e86edc905cffc42 |
| tree | 004ddafd8a96e0f69582cfcf581f192d71f53c4f |
| parent | d0b39c7f2b95522c262a92b97bf5654721ace1c7 |
1 files changed, 2 insertions(+), 2 deletions(-)
lib/std/time/epoch.zig+2-2| ... | ... | @@ -89,10 +89,10 @@ pub const Month = enum(u4) { |
| 89 | 89 | pub fn getDaysInMonth(year: Year, month: Month) u5 { |
| 90 | 90 | return switch (month) { |
| 91 | 91 | .jan => 31, |
| 92 | .feb => @as(u5, switch (isLeapYear(year)) { | |
| 92 | .feb => switch (isLeapYear(year)) { | |
| 93 | 93 | true => 29, |
| 94 | 94 | false => 28, |
| 95 | }), | |
| 95 | }, | |
| 96 | 96 | .mar => 31, |
| 97 | 97 | .apr => 30, |
| 98 | 98 | .may => 31, |