Thank you for your explanation, it helped me. I think that calendar modules may stay in core, so, with a external libary its possible to use the date and dateTime just pass my module as one of the arguments right?!
Thanks for your attention, Luis Sousa Em terça-feira, 11 de janeiro de 2022 às 09:47:12 UTC-3, w...@resilia.nl escreveu: > Hi there! > > This is most definitely possible. You can do so in its own library, as > Elixir's builtin date/time/calendar handling functionality is built in such > a way that it is easily extendable for future calendars without changing > the language itself. > > It is recommended reading the documentation in the Calendar > <https://hexdocs.pm/elixir/Calendar.html> and the various date/time > modules. It might also be worthwhile to look into how they are implemented > by looking at their source. > As for examples of other calendars: Besides Calendar.ISO which ships with > Elixir itself, there are a couple in ex_cldr_calendars > <https://hex.pm/packages/ex_cldr_calendars> and libraries dependent on > that as well. > > Cheers, > > ~Marten/Qqwy > > On Monday, January 10, 2022 at 3:40:17 AM UTC+1 phellp...@gmail.com wrote: > >> I want to add implements the Dekatrian calendar >> <https://dekatrian.com/index.php?title=Calend%C3%A1rio_Dekatrian> for >> elixir, I want to know if I can do it and how is the steps to do this. >> >> -- 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 elixir-lang-core+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/9407d7fb-56d0-4d0c-85ec-be401c9c8c05n%40googlegroups.com.