View Issue Details

IDProjectCategoryView StatusLast Update
0035913FPCRTLpublic2019-08-24 13:06
ReporterMarcelo Campos RochaAssigned ToMichael Van Canneyt 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.3.1Product Build 
Target VersionFixed in Version3.3.1 
Summary0035913: function TryISO8601ToDate signature is different of Delphi
DescriptionAt issue 0035307 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 .
TagsNo tags attached.
Fixed in Revision42800
FPCOldBugId
FPCTarget3.2.0
Attached Files

Activities

Michael Van Canneyt

2019-08-24 13:06

administrator   ~0117824

Done. Synchronized the other functions so ReturnUTC is always at the end and default true.

Issue History

Date Modified Username Field Change
2019-07-30 20:24 Marcelo Campos Rocha New Issue
2019-07-31 08:25 Michael Van Canneyt Assigned To => Michael Van Canneyt
2019-07-31 08:25 Michael Van Canneyt Status new => assigned
2019-08-24 13:06 Michael Van Canneyt Status assigned => resolved
2019-08-24 13:06 Michael Van Canneyt Resolution open => fixed
2019-08-24 13:06 Michael Van Canneyt Fixed in Version => 3.3.1
2019-08-24 13:06 Michael Van Canneyt Fixed in Revision => 42800
2019-08-24 13:06 Michael Van Canneyt FPCTarget => 3.2.0
2019-08-24 13:06 Michael Van Canneyt Note Added: 0117824