Bug Tracker

Opened 10 years ago

Closed 10 years ago

#6306 closed bug (invalid)

Error in .validate() function for date

Reported by: Chinmayee Owned by:
Priority: Milestone: 1.4.3
Component: data Version: 1.4.2
Keywords: Cc:
Blocked by: Blocking:

Description

Hello,

I was trying to use .validate() function in my application for date validation [dates are accepted by users without calender control].

Function is working well for most of the case but its fails for date 69/mar/2001. It showing correct message for 70/mar/2001.

Please verify.

Attachments (1)

err1.JPG (106.0 KB) - added by Chinmayee 10 years ago.
Screen showing 69/mar/2001 is valid date

Download all attachments as: .zip

Change History (4)

Changed 10 years ago by Chinmayee

Attachment: err1.JPG added

Screen showing 69/mar/2001 is valid date

comment:1 Changed 10 years ago by Pointy

I think that this bug should have been filed against the validation plugin.

comment:2 Changed 10 years ago by Pointy

Also, read the documentation for the plugin! On the very same page as the attached JPG is the clear statement that the plugin hands the string over to the native Javascript "Date" object to parse, and that it's merely concerned with the format of the string.

comment:3 Changed 10 years ago by dmethvin

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.