Title:
isDate returns true for a float that looks similar to a date but does not use uniform delimiters.
| View in TrackerStatus/Resolution/Reason: Closed/Withdrawn/Duplicate
Reporter/Name(from Bugbase): Cory Silva / Cory Silva (Cory Silva)
Created: 09/30/2015
Components: Language
Versions: 11.0
Failure Type: Incorrect w/Workaround
Found In Build/Fixed In Build: CF11_Final /
Priority/Frequency: Major / All users will encounter
Locale/System: English / Linux
Vote Count: 3
Duplicate ID: CF-3859758
Problem Description: isDate returns tree for a float that looks similar to a date but does not use uniform delimiters.
Steps to Reproduce: isDate("7,022.00");
Actual Result: true
Expected Result: false
Any Workarounds: Check string for the existence of both a comma and a period; no (to my knowledge) date formats use both.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 4067016
External Customer Info:
External Company:
External Customer Name: Cory Silva
External Customer Email:
External Test Config: My Hardware and Environment details:
CentOS 7
Attachments:
Comments: