Skip to content

Commit

Permalink
Simplify docs for Duration.to_iso8601/1 (#14030)
Browse files Browse the repository at this point in the history
  • Loading branch information
tfiedlerdejanze authored Dec 3, 2024
1 parent 67573f1 commit d49937c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/elixir/lib/calendar/duration.ex
Original file line number Diff line number Diff line change
Expand Up @@ -358,8 +358,7 @@ defmodule Duration do
@doc """
Converts the given `duration` to an [ISO 8601-2:2019](https://en.wikipedia.org/wiki/ISO_8601) formatted string.
Note this function implements the *extension* of ISO 8601:2019. This extensions allows weeks to
appear between months and days: `P3M3W3D`, making it fully compatible with any `Duration` struct.
This function implements the extension of ISO 8601:2019, allowing weeks to appear between months and days: `P3M3W3D`.
## Examples
Expand Down

0 comments on commit d49937c

Please sign in to comment.