Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unify *.to_iso8601 functions for calendar types #7297

Merged
merged 1 commit into from
Feb 1, 2018

Conversation

michalmuskala
Copy link
Member

  • Fastlane structs already in the ISO calendar
  • crash with FunctionClauseError on bad format. This should actually improve the error message in dev and test given exception blaming. Previously the "bad format" argument error would be also raised when the function was given not a calendar struct (but, for example an erlang style tuple) - very confusing!

* Fastlane structs already in the ISO calendar
* crash with FunctionClauseError on bad format.
  This should actually improve the error message in dev and test given
  exception blaming. Previously the "bad format" argument error would be
  also raised when the function was given not a calendar struct (but,
  for example an erlang style tuple) - very confusing!
@josevalim josevalim merged commit 72c3540 into elixir-lang:master Feb 1, 2018
@josevalim
Copy link
Member

❤️ 💚 💙 💛 💜

@michalmuskala michalmuskala deleted the calendar-iso8601 branch February 1, 2018 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants