public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* EmulatorPkg Timezone
@ 2018-03-09  2:57 Liu Yu
  0 siblings, 0 replies; only message in thread
From: Liu Yu @ 2018-03-09  2:57 UTC (permalink / raw)
  To: edk2-devel@lists.01.org, jordan.l.justen@intel.com,
	afish@apple.com, huajing.li@intel.com

Joradn,

  When I run the simulator , I found a ASSERT as below.


// FileTimeToLocalTime() , Patch ID  99849a906e15ea3a9a0330d69bbae0d21ff49808
  ASSERT ((Time->TimeZone >= -1440) && (Time->TimeZone <=1440));
  ASSERT ((LocalTimeZone >= -1440) && (LocalTimeZone <=1440));
  ASSERT ((Time->Month >= 1) && (Time->Month <= 12));

  EmulatorPkg get the TimeZone through tzset(void)
 And my location is in Chian ,so the timezone is -28800 (the time difference between UTC
 And local time, the unit is second)



发送自 Windows 10 版邮件<https://go.microsoft.com/fwlink/?LinkId=550986>应用


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-03-09  2:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-09  2:57 EmulatorPkg Timezone Liu Yu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox