Completed
Last Updated: 22 Jun 2022 11:42 by ADMIN
Release R3 2022
Nicolas
Created on: 30 Mar 2016 12:27
Category: InputManager
Type: Bug Report
0
InputUtil.MapDateFormatShortCuts: returns wrong pattern
Date format pattern mapping is incorrect in method InputUtil.MapDateFormatShortCuts:

case "y":
          return dateTimeFormatInfo.MonthDayPattern;
case "Y":
          return dateTimeFormatInfo.MonthDayPattern;

instead of:

case "y":
          return dateTimeFormatInfo.YearMonthPattern;
case "Y":
          return dateTimeFormatInfo.YearMonthPattern;

according to "Standard Date and Time Format Strings" from 
https://msdn.microsoft.com/en-us/library/az4se3k1(v=vs.110).aspx
0 comments