Date time expressions do not respect system date time format.
//System Date Time = dd/MM/yyyy
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());
5.45 and older:
D: 01
M: 12
Y: 2020
5.46 and newer:
D:12
M: 01
Y: 2020
We can simple solve this adding culture info parameters or using parse exact.... but I think this is a bug and that change to force all current codes to have culture info or parse exact is not planned.