Skip to content

Commit 5cbbd74

Browse files
committed
refactor: Add comment for invalidPersianError
1 parent eae75ee commit 5cbbd74

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

calendar/persian/persian.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ var (
2424
ShortFaWeeks = []string{"پ", "چ", "س", "د", "ی", "ش", "ج"}
2525
)
2626

27+
// returns a invalid persian date.
28+
// 无效的波斯历日期错误
2729
var invalidPersianError = func() error {
2830
return fmt.Errorf("invalid persian date, please make sure the persian date is valid")
2931
}

0 commit comments

Comments
 (0)