|
@@ -881,7 +881,7 @@ begin
|
|
|
DSTStart := DSTStart + (TZInfo.Bias+TZInfo.StandardBias)/MinsPerDay;
|
|
|
DSTEnd := DSTEnd + (TZInfo.Bias+TZInfo.DaylightBias)/MinsPerDay;
|
|
|
end;
|
|
|
- if (DateTime>DSTStart) and (DateTime<DSTEnd) then
|
|
|
+ if (DSTStart<=DateTime) and (DateTime<DSTEnd) then
|
|
|
Offset := TZInfo.Bias+TZInfo.DaylightBias
|
|
|
else
|
|
|
Offset := TZInfo.Bias+TZInfo.StandardBias;
|