diff options
author | Gua Guo <gua.guo@intel.com> | 2024-04-21 20:44:55 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-04-26 03:01:55 +0000 |
commit | c0dfe3ec1f364dbdaf6b241e01343e560b21dd03 (patch) | |
tree | 2d18ff902d962fa6ae35c90f8a2f495112962e16 /BaseTools/Tests | |
parent | 66c24219ade92b85b24f3ce29b988d187a9f6517 (diff) | |
download | edk2-c0dfe3ec1f364dbdaf6b241e01343e560b21dd03.tar.gz edk2-c0dfe3ec1f364dbdaf6b241e01343e560b21dd03.tar.bz2 edk2-c0dfe3ec1f364dbdaf6b241e01343e560b21dd03.zip |
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>
Diffstat (limited to 'BaseTools/Tests')
0 files changed, 0 insertions, 0 deletions