mirror of
https://github.com/jhillyerd/inbucket.git
synced 2025-12-19 10:37:01 +00:00
ui: Reformat with elm-format 0.8.1
This commit is contained in:
@@ -12,6 +12,7 @@ import Svg.Attributes as SvgAttrib
|
||||
import Time exposing (Time)
|
||||
|
||||
|
||||
|
||||
-- MODEL --
|
||||
|
||||
|
||||
@@ -381,6 +382,7 @@ zeroPadList numbers =
|
||||
in
|
||||
if needed > 0 then
|
||||
List.repeat needed 0 ++ numbers
|
||||
|
||||
else
|
||||
numbers
|
||||
|
||||
@@ -394,6 +396,7 @@ fmtInt n =
|
||||
thousands str =
|
||||
if String.length str <= 3 then
|
||||
str
|
||||
|
||||
else
|
||||
thousands (String.slice 0 -3 str) ++ "," ++ String.right 3 str
|
||||
in
|
||||
|
||||
Reference in New Issue
Block a user