Skip to content

Commit

Permalink
Fix wrong type of passed Holiday for Printf.
Browse files Browse the repository at this point in the history
  • Loading branch information
haruki-sugarsun committed May 1, 2022
1 parent 188c5db commit cf2fb09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go_ldenweek.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ func main() {
func(x *cal.Holiday) time.Time {
actual, observed := x.Calc(target_year)
if *verbose_flag {
log.Printf(" ----- %s \n", x)
log.Printf(" ----- %#v \n", x)
log.Printf("actual: %s\n", actual)
log.Printf("observed: %s\n", observed)
log.Printf("observed.Weekday(): %s\n", observed.Weekday())
Expand Down

0 comments on commit cf2fb09

Please sign in to comment.