Bug Tracker

Modify

Ticket #6306 (closed bug: invalid)

Opened 3 years ago

Last modified 3 years ago

Error in .validate() function for date

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

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

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

Change History

Changed 3 years ago by Chinmayee

Screen showing 69/mar/2001 is valid date

comment:1 Changed 3 years ago by Pointy

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

comment:2 Changed 3 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 3 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to invalid

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.