Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Ryan Guill / Ryan Guill (Ryan Guill)
Created: 01/02/2014
Components: Documentation
Versions: 10.0
Failure Type: Unspecified
Found In Build/Fixed In Build: Final /
Priority/Frequency: Normal / All users will encounter
Locale/System: English / Windows 7 SP1 64-bit
Vote Count: 0
Problem Description:
I am seeing an inconsistency between isDate() and isValid("date",). Below is a link to a gist that describes the scenario.
Steps to Reproduce:
https://gist.github.com/ryanguill/8220900
Actual Result:
isDate(0) is false,
isValid("date",0) is true
Expected Result:
Quoting the documentation from here: https://learn.adobe.com/wiki/display/coldfusionen/IsValid
"date or time: any date-time value, including dates or times; equivalent to the IsDate function."
I believe that it should state that it is equivalent to the isNumericDate() function. Can someone confirm that it is using the isNumericDate() behind the scenes?
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3688661
External Customer Info:
External Company:
External Customer Name: Ryan Guill
External Customer Email:
External Test Config: https://gist.github.com/ryanguill/8220900
Attachments:
Comments: