Skip to content

Commit

Permalink
New version 9.3.1 small doc update.
Browse files Browse the repository at this point in the history
doc(parameter names): Create
  • Loading branch information
rluiten committed Apr 27, 2018
1 parent 8f81be3 commit c0ad6ab
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
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.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",
Expand Down
10 changes: 10 additions & 0 deletions src/Date/Extra/Create.elm
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -80,6 +85,7 @@ Using algorithm from <http://howardhinnant.github.io/date_algorithms.html>
Specifically days_from_civil function.
The two `<*>Compensate` values adjust for the zone offset time
introduced by `epochDate` as starting point.
-}
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit c0ad6ab

Please sign in to comment.