View Issue Details

IDProjectCategoryView StatusLast Update
0030930FPCCompilerpublic2016-11-15 21:16
ReporterVladimir KAssigned ToMichael Van Canneyt 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Platform64OSWindowsOS Version10
Product Version3.0.1Product BuildLazarus 1.7 
Target Version3.2.0Fixed in Version3.1.1 
Summary0030930: Variant to TDateTime bug (MinDateTime)
DescriptionSame as issue http://mantis.freepascal.org/view.php?id=30805 but with minimum value.
Steps To Reproducevar
  dt: TDateTime;
  v: Variant;
begin
  dt := EncodeDateTime(1, 1, 1, 23, 59, 59, 999);
  v := dt;
  dt := TDateTime(v); //<- error
Additional InformationMinDateTime should be at least -693593,999999988 instead of
-693593.0; { 01/01/0001 12:00:00.000 AM }
TagsNo tags attached.
Fixed in Revision34903
FPCOldBugId
FPCTarget
Attached Files

Activities

Michael Van Canneyt

2016-11-15 21:16

administrator   ~0095896

Fixed. Thanks for reporting !

Issue History

Date Modified Username Field Change
2016-11-15 15:31 Vladimir K New Issue
2016-11-15 21:13 Michael Van Canneyt Assigned To => Michael Van Canneyt
2016-11-15 21:13 Michael Van Canneyt Status new => assigned
2016-11-15 21:16 Michael Van Canneyt Fixed in Revision => 34903
2016-11-15 21:16 Michael Van Canneyt Note Added: 0095896
2016-11-15 21:16 Michael Van Canneyt Status assigned => resolved
2016-11-15 21:16 Michael Van Canneyt Fixed in Version => 3.1.1
2016-11-15 21:16 Michael Van Canneyt Resolution open => fixed
2016-11-15 21:16 Michael Van Canneyt Target Version => 3.2.0