Skip to content

Commit d49937c

Browse files
Simplify docs for Duration.to_iso8601/1 (#14030)
1 parent 67573f1 commit d49937c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/elixir/lib/calendar/duration.ex

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -358,8 +358,7 @@ defmodule Duration do
358358
@doc """
359359
Converts the given `duration` to an [ISO 8601-2:2019](https://en.wikipedia.org/wiki/ISO_8601) formatted string.
360360
361-
Note this function implements the *extension* of ISO 8601:2019. This extensions allows weeks to
362-
appear between months and days: `P3M3W3D`, making it fully compatible with any `Duration` struct.
361+
This function implements the extension of ISO 8601:2019, allowing weeks to appear between months and days: `P3M3W3D`.
363362
364363
## Examples
365364

0 commit comments

Comments
 (0)