Skip to content
Open
Show file tree
Hide file tree
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: 2 additions & 0 deletions v2/holiday.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ type Holiday struct {
Julian bool // the holiday is based on a Julian calendar
Observed []AltDay // the substitution days for the holiday
Func HolidayFn // logic used to determine occurrences
Lunar bool // the holiday is based on a Lunar calendar
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see this used anywhere. Is it needed?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

}

// Clone returns a copy of the Holiday. If overrides is non-nil, then the
Expand All @@ -71,6 +72,7 @@ func (h *Holiday) Clone(overrides *Holiday) *Holiday {
Offset: h.Offset,
CalcOffset: h.CalcOffset,
Julian: h.Julian,
Lunar: h.Lunar,
Observed: h.Observed,
Func: h.Func,
}
Expand Down
9 changes: 9 additions & 0 deletions v2/kr/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
root = true
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please delete this file. We use whatever "go fmt" dictates.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure i'll patch.


# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
indent_style = space
indent_size = 4
Loading