Re: [fpc-pascal] Regression in StrToDateTime()

2018-06-14 Thread LacaK
You also can make your own procedure to fix the issue for yourself. Like you can rewrite the function StrToDateTime() to change all '. ' to '.' and then call the original function StrToDateTime() Of course it is possible, but IMO it should be fixed in general way. I have reported bug #33860 I

Re: [fpc-pascal] Regression in StrToDateTime()

2018-06-14 Thread Carmel computer - Antal
You also can make your own procedure to fix the issue for yourself. Like you can rewrite the function StrToDateTime() to change all '. ' to '.' and then call the original function StrToDateTime() On Thu, 14 Jun 2018, LacaK wrote: Hi, now I am migrating my applications from FPC 2.6.4 to FPC

[fpc-pascal] Regression in StrToDateTime()

2018-06-14 Thread LacaK
Hi, now I am migrating my applications from FPC 2.6.4 to FPC 3.0.4 and I noticed that logic in function StrToDateTime() was changed. In 2.6.4 there was first detected position of first TimeSeparator and then walking back to first occurence of WhiteSpace. This approach allows DateSeparator='.