diff --git a/elm-package.json b/elm-package.json index 2ed4b9c..de41ed0 100644 --- a/elm-package.json +++ b/elm-package.json @@ -1,5 +1,5 @@ { - "version": "9.3.0", + "version": "9.3.1", "summary": "Date Extra library add/subtract/diff/format etc dates.", "repository": "https://github.com/rluiten/elm-date-extra.git", "license": "BSD3", diff --git a/src/Date/Extra/Create.elm b/src/Date/Extra/Create.elm index 868330e..c672d02 100644 --- a/src/Date/Extra/Create.elm +++ b/src/Date/Extra/Create.elm @@ -72,6 +72,11 @@ epochTimezoneOffset = {-| Create a date in current time zone from given fields. + +Call Signature + + dateFromFields year month day hour minute second millisecond = + All field values are clamped to there allowed range values. Hours are input in 24 hour time range 0 to 23 valid. Returns dates in current time zone. @@ -80,6 +85,7 @@ Using algorithm from Specifically days_from_civil function. The two `<*>Compensate` values adjust for the zone offset time + introduced by `epochDate` as starting point. -} @@ -120,6 +126,10 @@ adjustedTicksToDate ticks = {-| Create a time in current time zone from given fields, for when you dont care about the date part but need time part anyway. +Call Signature + + timeFromFields hour minute second millisecond = + All field values are clamped to there allowed range values. This can only return dates in current time zone.