- Регистрация
- 02.01.2017
- Сообщения
- 526
- Благодарностей
- 112
- Баллы
- 43
Hi guys... we upgrade from 5.16 and 5.29 to 5.47.
All our projects with datetime.parse functions became to error, the problem is culture info....
Our system date time format:
dd/MM/yyyy
Old projects:
Result:
D: 01
M: 12
Y: 2020
With new verions:
D:12
M: 01
Y: 2020
Edit.:
5.44 >> working
5.45. >> working
5.46 >> Broken
5.47 >> Broken
All our projects with datetime.parse functions became to error, the problem is culture info....
Our system date time format:
dd/MM/yyyy
Old projects:
Код:
DateTime dt = DateTime.Parse("01/12/2020");
project.SendInfoToLog("D: "+dt.Day.ToString());
project.SendInfoToLog("M: "+dt.Month.ToString());
project.SendInfoToLog("Y: "+dt.Year.ToString());
D: 01
M: 12
Y: 2020
With new verions:
D:12
M: 01
Y: 2020
Edit.:
5.44 >> working
5.45. >> working
5.46 >> Broken
5.47 >> Broken
Последнее редактирование: