]> git.proxmox.com Git - mirror_edk2.git/blobdiff - PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtc.c
MdeModulePkg/PcRtc: Still create timezone variable when Daylight != 0
[mirror_edk2.git] / PcAtChipsetPkg / PcatRealTimeClockRuntimeDxe / PcRtc.c
index acc70a67b71c72d759536ebd41061d2fbf56535c..5143575e311f9e4d11d222e83e8c45f96afee4cf 100644 (file)
@@ -487,7 +487,7 @@ PcRtcSetTime (
   //\r
   // Write timezone and daylight to RTC variable\r
   //\r
-  if (Time->TimeZone == EFI_UNSPECIFIED_TIMEZONE) {\r
+  if ((Time->TimeZone == EFI_UNSPECIFIED_TIMEZONE) && (Time->Daylight == 0)) {\r
     Status = EfiSetVariable (\r
                mTimeZoneVariableName,\r
                &gEfiCallerIdGuid,\r