File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -148,10 +148,13 @@ foreign import jsdateLocal
148
148
foreign import dateMethodEff :: forall a . Fn2 String JSDate (Effect a )
149
149
foreign import dateMethod :: forall a . Fn2 String JSDate a
150
150
151
- -- | Attempts to parse a date from a string. The behaviour of this function is
151
+ -- | Attempts to parse a date from a string. The behavior of this function is
152
152
-- | implementation specific until ES5, so may not always have the same
153
- -- | behaviour for a given string. The RFC2822 and ISO8601 date string formats
154
- -- | should parse consistently.
153
+ -- | behavior for a given string. For this reason, it is **strongly** encouraged
154
+ -- | that you avoid this function if at all possible.
155
+ -- |
156
+ -- | If you must use it, the RFC2822 and ISO8601 date string formats should
157
+ -- | parse consistently.
155
158
-- |
156
159
-- | This function is effectful because if no time zone is specified in the
157
160
-- | string the current locale's time zone will be used instead.
You can’t perform that action at this time.
0 commit comments