Yes, please do submit a PR.
*José Valimhttps://dashbit.co/ <https://dashbit.co/>* On Tue, Mar 25, 2025 at 11:37 AM 'Neil Lyons' via elixir-lang-core < elixir-lang-core@googlegroups.com> wrote: > Modify Time.utc_now/1 to take calendar_or_time_unit and add Time.utc_now/2 > to be consistent with DateTime and NaiveDateTime. > > Allowing you to call Time.utc_now/1 and truncate to seconds for example. > Like DateTime > > *Time.utc_now/1* > Time.utc_now(Calendar.ISO) > Time.utc_now(:second) > > *Time.utc_now/2* > Time.utc_now(:second, Calendar.ISO) > > -- > 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 visit > https://groups.google.com/d/msgid/elixir-lang-core/e36783a6-58c3-416b-bc0a-2c7fde746a21n%40googlegroups.com > <https://groups.google.com/d/msgid/elixir-lang-core/e36783a6-58c3-416b-bc0a-2c7fde746a21n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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 visit https://groups.google.com/d/msgid/elixir-lang-core/CAGnRm4%2BzqQazgyD-ia_NK7mQgBw5mNtu-edj1SUamCRbAH-N%3DA%40mail.gmail.com.