You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe that the functionfrom_seconds(atom, seconds) and to_seconds(atom, multiplier) from the module Convert should have the parameters in the opposite order, because is more likely to pipe the value of the seconds through a pipe than the value of the atom.
Example:
Convert.from_seconds(:hours, foo())
foo() |> Convert.from_seconds(:hours)
The text was updated successfully, but these errors were encountered:
I believe that the functionfrom_seconds(atom, seconds) and to_seconds(atom, multiplier) from the module Convert should have the parameters in the opposite order, because is more likely to pipe the value of the seconds through a pipe than the value of the atom.
Example:
Convert.from_seconds(:hours, foo())
foo() |> Convert.from_seconds(:hours)
The text was updated successfully, but these errors were encountered: