diff --git a/entries/date-method.xml b/entries/date-method.xml index bdeaa86..4d2285b 100644 --- a/entries/date-method.xml +++ b/entries/date-method.xml @@ -1,10 +1,11 @@ - date method + [DEPRECATED] date method Makes the element require a date. Return true if the value is a valid date. Uses JavaScript's built-in Date to test if the date is valid, and therefore does no sanity checks. Only the format must be valid, not the actual date, eg 30/30/2008 is a valid date. -

This method should not be used, since it relies on the new Date constructor, which behaves very differently across browsers and locales. Use dateISO instead or one of the locale specific methods (in localizations/ and additional-methods.js).

+

DEPRECATION warning:

+

This method is deprecated and will be removed in version 2.0.0.
Please don't use it, since it relies on the Date constructor, which behaves very differently across browsers and locales. Use dateISO instead or one of the locale specific methods (in localizations/ and additional-methods.js).

Makes "field" required and a date.