Skip to content

Commit

Permalink
Merge pull request #10 from cprussin/rename-err-to-exception
Browse files Browse the repository at this point in the history
Rename err back to exception
  • Loading branch information
garyb committed May 16, 2017
2 parents 32d178b + a54bd12 commit 54f4b20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Data/JSDate.purs
Expand Up @@ -237,7 +237,7 @@ toDateString :: JSDate -> String
toDateString dt = runFn2 dateMethod "toDateString" dt

-- | Converts a date value to an ISO 8601 Extended format date string.
toISOString :: forall eff. JSDate -> Eff (err :: EXCEPTION | eff) String
toISOString :: forall eff. JSDate -> Eff (exception :: EXCEPTION | eff) String
toISOString dt = runFn2 dateMethodEff "toISOString" dt

-- | Returns a string representing for a date value.
Expand Down

0 comments on commit 54f4b20

Please sign in to comment.