Skip to content

cast ISO8601 duration strings as Duration - #4821

Merged
josevalim merged 1 commit into
elixir-ecto:masterfrom
woylie:cast-duration-strings
Nov 24, 2026
Merged

josevalim merged 1 commit into
elixir-ecto:masterfrom
woylie:cast-duration-strings

Conversation

@woylie

@woylie woylie commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

Ecto casts ISO8601 strings for :date, :time, :naive_datetime and :utc_datetime, but not for :duration. This makes it so.

@josevalim
josevalim merged commit a520536 into elixir-ecto:master Nov 24, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants