I'd love to have in standard library ability to parse date strings with custom formatters defined by accepted formats <https://hexdocs.pm/elixir/1.12/Calendar.html#strftime/3-accepted-formats> Calendar has in place.
I found few libraries that allows me to do this like: https://elixirforum.com/t/datix-a-date-time-parser-using-calendar-strftime-format-strings/36824 or https://elixirforum.com/t/date-formats-phoenix-and-ecto/5220/19 To avoid multiple regexes or dependencies to fulfill different client needs it could support formats provided in second arg of ie. `Date.parse_date("21/05/1985", "%d/%m/%Y")`, it would be opposite of `Calendar.strftime` so it would parse a given string, to the date, time or datetime. -- You received this message because you are subscribed to the Google Groups "elixir-lang-core" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/a60b80ab-22de-4713-b66f-5697f574e3cbn%40googlegroups.com.
