Open GoogleCodeExporter opened 9 years ago
Correct - while it's semantically correct to throw a RangeError here it's not
very sensible - failing validation is not an exceptional circumstance and
shouldn't be treated as such.
I patched this (but left the TypeError, that is correct) in my fork:
https://github.com/abritinthebay/datejs/
Original comment by darkcr...@gmail.com
on 9 Sep 2013 at 11:15
Original issue reported on code.google.com by
peter01....@gmail.com
on 16 Aug 2012 at 9:55