Skip to content

Commit

Permalink
Fix DateFormat
Browse files Browse the repository at this point in the history
  • Loading branch information
aetasoul committed Jan 14, 2025
1 parent 6092d17 commit 1297dc0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions modules/webapp/src/main/elm/Messages/DateFormat.elm
Original file line number Diff line number Diff line change
Expand Up @@ -196,13 +196,17 @@ cz =
-}
italian : DL.Language
italian =
let
withDot str =
str ++ "."
in
DL.Language
toItalianMonthName
toItalianMonthAbbreviation
toItalianWeekdayName
(toItalianWeekdayName >> String.left 3)
(toItalianWeekdayName >> String.left 3 >> withDot)
toEnglishAmPm
toItalianOrdinalSuffix
(\_ -> ".")

toItalianMonthName : Month -> String
toItalianMonthName month =
Expand Down

0 comments on commit 1297dc0

Please sign in to comment.