summaryrefslogtreecommitdiffstats
path: root/scripts/lib/devtool/utilcmds.py
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2023-06-23 13:32:50 +0100
committerSteve Sakoman <steve@sakoman.com>2023-07-13 06:42:46 -1000
commit00e0d5e51515a10a9b69e75cd4ec3453341ec6bb (patch)
treef86452d35c605a4a3db9a07c65c3a047f68ea0a2 /scripts/lib/devtool/utilcmds.py
parent62727653aa480c23abc289ee7821508df5944d78 (diff)
downloadpoky-00e0d5e51515a10a9b69e75cd4ec3453341ec6bb.tar.gz
cve-update-nvd2-native: use exact times, don't truncate
When requesting updates in a specific range, use the actual current time and database mtime instead of truncating to midnight, and explicitly set the timezone to UTC so that NIST don't treat the timestamps as _their_ local time when they're _our_ local time. (From OE-Core rev: 91243ad474be00e55aa99355edef44f2fe2311f1) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 9aa0ec37f5f74252588d2494a71c71a7d8e68df9) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'scripts/lib/devtool/utilcmds.py')
0 files changed, 0 insertions, 0 deletions