Skip to content

Commit

Permalink
fix: default day of week
Browse files Browse the repository at this point in the history
  • Loading branch information
stakach committed Jun 30, 2023
1 parent 806aec2 commit d8b5abb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion shard.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: office365
version: 1.21.1
version: 1.21.2

crystal: ">= 0.36.1"

Expand Down
2 changes: 1 addition & 1 deletion src/models/recurrence_pattern.cr
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ module Office365
property month : Int32?
property type : RecurrencePatternType?

def initialize(@type, @interval = nil, @days_of_week = nil, @first_day_of_week = nil, @day_of_month = nil, @index = nil, @month = nil)
def initialize(@type, @interval = nil, @days_of_week = nil, @first_day_of_week = DayOfWeek::Sunday, @day_of_month = nil, @index = nil, @month = nil)
end
end
end

0 comments on commit d8b5abb

Please sign in to comment.