Icon View Incident Report

Serious Serious
Reported By: Paul Coshott
Reported On: 5/6/2018
For: Version 2.06 Build 12
# 4645 TwoDigitCenturyWindow Date Format Setting Not Being Used Properly with Two-Digit Years

In my main form's on create event, I have the following code.

If I manually type in the date 7/5/18, I get displayed: 7/05/1918

 //date format options
 FormatSettings.ShortDateFormat := 'd/MM/yyyy';



Comments Comments
The issue was that the TwoDigitYearCenturyWindow logic only kicked in when the year format for the date format was 'yy', not when it was 'yyyy'. It now kicks in when the *specified* year is a partial year, irrespective of the year *format*.


Resolution Resolution
Fixed Problem on 5/18/2018 in version 2.06 build 13


Products Affected Products Affected
Elevate Web Builder
Elevate Web Builder Trial

Image