Fix formatting of an error message.

This commit is contained in:
John Beisley 2018-03-04 21:56:41 +00:00
parent 71cfb6bbcb
commit e25a5cc217

View File

@ -334,7 +334,7 @@ func UnmarshalTimeOfDay(s string) (TimeOfDay, error) {
if err != nil { if err != nil {
return TimeOfDay{}, err return TimeOfDay{}, err
} else if t.HasOffset { } else if t.HasOffset {
return TimeOfDay{}, fmt.Errorf("soap time: value %q contains unexpected timezone") return TimeOfDay{}, fmt.Errorf("soap time: value %q contains unexpected timezone", s)
} }
return t, nil return t, nil
} }