efi_loader: handling of daylight saving time
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Fri, 31 May 2019 20:08:45 +0000 (22:08 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Fri, 31 May 2019 21:27:20 +0000 (23:27 +0200)
commit38b9a79c6366a0e4c98b0a6f33f268fc0d3ba4ce
treed1c2c31d6fb8c04190eb7d0a8983c1e570d64ec1
parent656f17106b870ed42ff3e00fc6c5e41e779dd934
efi_loader: handling of daylight saving time

If SetTime() is meant to set daylight saving time it will be called with
Time.Daylight == EFI_TIME_ADJUST_DAYLIGHT | EFI_TIME_IN_DAYLIGHT.

Return 0 from GetTime() if time is not in daylight because we cannot
determine if we are in a time zone with daylight saving time.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_loader/efi_runtime.c