Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/timezone.zig
Original file line number Diff line number Diff line change
Expand Up @@ -859,7 +859,7 @@ pub const Windows = struct {
// In the months between
if (time.wMonth > start.wMonth and time.wMonth < end.wMonth) return true;

const days_from_epoch = @divFloor(timestamp, s_per_day);
const days_from_epoch: zeit.Days = @intCast(@divFloor(timestamp, s_per_day));
// first_of_month is the weekday on the first of the month
const first_of_month = zeit.weekdayFromDays(days_from_epoch - time.wDay + 1);

Expand Down
Loading