Bug Tracker

Opened 15 years ago

Closed 14 years ago

#2682 closed enhancement (wontfix)

[validate] Better ISO date and time validation

Reported by: DThrasher Owned by: joern
Priority: minor Milestone: 1.2.4
Component: plugin Version: 1.2.3
Keywords: validate Cc:
Blocked by: Blocking:

Description (last modified by joern)

I have a few suggestions for enhancing the ISO date and time RegEx expressions. I modified a few examples I found on http://regexlib.com. The current dateISO validator allows nonsensical dates like 2008-67-87.

ISO date

ISO time

ISO offset

ISO date and time

ISO Date, time and offset (the works)

Change History (3)

comment:1 Changed 15 years ago by joern

Description: modified (diff)

comment:2 Changed 15 years ago by joern

Owner: set to joern

comment:4 Changed 14 years ago by joern

Resolution: wontfix
Status: newclosed

Providing a "complete" date method isn't feasible, therefore you have to write your own custom method for specific date formats.

Note: See TracTickets for help on using tickets.