Watch, Follow, &
Connect with Us

Please visit our new home

Public Report
Report From: Delphi-BCB/RTL/Delphi/Date - Time    [ Add a report in this area ]  
Report #:  133710   Status: Open
TryStrToDateTime returns TRUE in wrong case
Project:  Delphi Build #:  7601
Version:    21.0 Submitted By:   Martijn Tonies
Report Type:  Basic functionality failure Date Reported:  9/21/2015 2:19:49 AM
Severity:    Commonly encountered problem Last Updated: 10/19/2015 6:22:38 AM
Platform:    All platforms Internal Tracking #:   70331
Resolution: None (Resolution Comments) Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
With a Bulgarian locale, the TryStrToDateTime routine returns TRUE in cases not being valid at all.

eg, using this routine on this string:

cast(1.2 as double precision) *  cast(2.3 as double precision)

returns TRUE.
Steps to Reproduce:
Call TryStrToDateTime with the given string value above.


Server Response from: ETNACODE01