Opened 10 years ago
Last modified 10 years ago
#9184 open bug
Datepicker: parsedate Unix timestamp string with negative value throws an error
Reported by: | oclement | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | none |
Component: | ui.datepicker | Version: | 1.10.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
See plunk here: http://embed.plnkr.co/8DGYfF31P53AG4KIJFPs
Using a negative Unix Date (Before 01/01/1970)
$.datepicker.parseDate( '@', '-996436800000');
Throws an error: Uncaught Missing number at position 0
Expected: Should be able to parse date correctly
Change History (1)
comment:1 Changed 10 years ago by
Status: | new → open |
---|---|
Summary: | $.datepicker.parsedate Unix timestamp string with negative value throws an error → Datepicker: parsedate Unix timestamp string with negative value throws an error |
Note: See
TracTickets for help on using
tickets.
Confirmed. 0 works but -1 and lower throw an error.