Browse Source

* Fix copy & paste error

(cherry picked from commit 03266e90574c6b03b5f7f60c695e39132f4c8399)
Michaël Van Canneyt 2 years ago
parent
commit
b9290ae6d8
1 changed files with 2 additions and 2 deletions
  1. 2 2
      packages/vcl-compat/src/system.ioutils.pp

+ 2 - 2
packages/vcl-compat/src/system.ioutils.pp

@@ -1398,8 +1398,8 @@ begin
      if isUTC then
      if isUTC then
        begin
        begin
        aCreate:=LocalTimeToUniversal(aCreate);
        aCreate:=LocalTimeToUniversal(aCreate);
-       aWrite:=LocalTimeToUniversal(aCreate);
-       aAccess:=LocalTimeToUniversal(aCreate);
+       aWrite:=LocalTimeToUniversal(aWrite);
+       aAccess:=LocalTimeToUniversal(aAccess);
        end;
        end;
      end
      end
    else
    else