// Change the file time to local time.\r
//\r
Status = gRT->GetTime(&LocalTime, NULL);\r
- if (!EFI_ERROR (Status)) {\r
+ if (!EFI_ERROR (Status) && (LocalTime.TimeZone != EFI_UNSPECIFIED_TIMEZONE)) {\r
if ((Node->Info->CreateTime.TimeZone != EFI_UNSPECIFIED_TIMEZONE) &&\r
(Node->Info->CreateTime.Month >= 1 && Node->Info->CreateTime.Month <= 12)) {\r
//\r