As observed by @ryanbigg <https://twitter.com/ryanbigg> on Twitter <https://twitter.com/ryanbigg/status/1356847900035190786>, *"2021-034"* is a valid ISO 8601 date.
Specifically, it is an ordinal date <https://en.wikipedia.org/wiki/Ordinal_date> descriptor of the format YYYY-DDD. Unlike some of the more exotic ISO 8601 formats, like naming a week of the year or a day+month without a year; it does fully describe a single date in time. As Ryan observes, Ruby supports parsing ordinal date strings but Elixir does not. Is this something we'd want to add? Honestly the correct behaviour here is almost more surprising to me than our lack of support for it, but I wanted to field a discussion about it. -- 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/51e44339-31aa-4ec6-93c8-3ca0f7901926n%40googlegroups.com.
