回复: [edk2-devel] [PATCH v1 1/1] BaseTools/GetUtcDateTime.py: Python 3.12 support

2024-04-23 Thread gaoliming via groups.io
Reviewed-by: Liming Gao > -邮件原件- > 发件人: devel@edk2.groups.io 代表 Guo, Gua > 发送时间: 2024年4月21日 20:51 > 收件人: devel@edk2.groups.io > 抄送: gua@intel.com; saloni.kasbe...@intel.com; Rebecca Cran > ; Liming Gao ; Bob Feng > ; Yuwei Chen > 主题: [edk2-devel]

[edk2-devel] [PATCH v1 1/1] BaseTools/GetUtcDateTime.py: Python 3.12 support

2024-04-21 Thread Guo, Gua
From: Gua Guo Ref to https://docs.python.org/3/whatsnew/3.12.html utcnow() and utcfromtimestamp() are deprecated Prevent use it cause build error. Cc: Rebecca Cran Cc: Liming Gao Cc: Bob Feng Cc: Yuwei Chen Signed-off-by: Gua Guo --- BaseTools/Scripts/GetUtcDateTime.py | 2 +- 1 file chang