Skip to content

Commit

Permalink
fix(duration): print correct format for ToICalendarPropFormat
Browse files Browse the repository at this point in the history
  • Loading branch information
vareversat committed Dec 22, 2024
1 parent 1b0cb52 commit 9cc3be9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion properties/property.go
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ func (dP *durationPropertyType) ToICalendarPropFormat(output io.Writer) {
computeParameters(&paramsOutput, dP.Parameters)
}
unfoldedOutput.Write(
[]byte(fmt.Sprintf("%s%s:%s", dP.PropName, paramsOutput.String(), dP.Value.GetValue())),
[]byte(fmt.Sprintf("%s%s:%s", dP.PropName, paramsOutput.String(), dP.Value.GetStringValue())),
)
foldOutput(&unfoldedOutput)
unfoldedOutput.WriteTo(output)
Expand Down

0 comments on commit 9cc3be9

Please sign in to comment.