Skip to content

Commit

Permalink
Update v9.2.0.
Browse files Browse the repository at this point in the history
Fixed doc for TwelveHourClock module for export.
  • Loading branch information
rluiten committed Sep 15, 2017
1 parent f905f1a commit 30c1b81
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion elm-package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "9.1.2",
"version": "9.2.0",
"summary": "Date Extra library add/subtract/diff/format etc dates.",
"repository": "https://github.com/rluiten/elm-date-extra.git",
"license": "BSD3",
Expand Down
10 changes: 7 additions & 3 deletions src/Date/Extra/TwelveHourClock.elm
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ module Date.Extra.TwelveHourClock
, twelveHourPeriod
)

import Date

{-| Definition of 12-Hour clock and AM/PMv alue for dates.
@docs TwelveHourPeriod
@docs twelveHourPeriod
-}

-- 12-Hour Clock --
import Date


{-| 12-Hour clock abbreviations (AM/PM)
Expand All @@ -17,6 +19,8 @@ type TwelveHourPeriod
| PM


{-| Common Date to AM/PM value.
-}
twelveHourPeriod : Date.Date -> TwelveHourPeriod
twelveHourPeriod d =
if Date.hour d < 12 then
Expand Down

0 comments on commit 30c1b81

Please sign in to comment.