commit | c0dfe3ec1f364dbdaf6b241e01343e560b21dd03 | [log] [tgz] |
---|---|---|
author | Gua Guo <gua.guo@intel.com> | Sun Apr 21 20:44:55 2024 +0800 |
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | Fri Apr 26 03:01:55 2024 +0000 |
tree | 2d18ff902d962fa6ae35c90f8a2f495112962e16 | |
parent | 66c24219ade92b85b24f3ce29b988d187a9f6517 [diff] |
BaseTools/GetUtcDateTime.py: Python 3.12 support 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 <rebecca@bsdio.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Bob Feng <bob.c.feng@intel.com> Cc: Yuwei Chen <yuwei.chen@intel.com> Signed-off-by: Gua Guo <gua.guo@intel.com> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>