function TryISO8601ToDate signature is different of Delphi
Original Reporter info from Mantis: marcelo_rocha
-
Reporter name: Marcelo Campos Rocha
Original Reporter info from Mantis: marcelo_rocha
- Reporter name: Marcelo Campos Rocha
Description:
At issue #35307 (closed) was implemented function TryISO8601ToDate, unit DateUtils. Delphi has the same function(http://docwiki.embarcadero.com/Libraries/Rio/en/System.DateUtils.TryISO8601ToDate) but the order of parameters are not the same
FPC's declaration is
Function TryISO8601ToDate(const DateString: string; ReturnUTC : Boolean;out ADateTime: TDateTime) : Boolean;
but Delphi declaration is
function TryISO8601ToDate(const AISODate: string; out Value: TDateTime; AReturnUTC: Boolean = True): Boolean;
I suggest to make compatible the functions signatures .
Mantis conversion info:
- Mantis ID: 35913
- Version: 3.3.1
- Fixed in version: 3.3.1
- Fixed in revision: 42800 (#f52b14ff)
- Target version: 3.2.0