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:37:15 -1000
commit0eee59b3dbaa3b1879ac7fdf79c94a8bf942bfe0 (patch)
tree381ba5310cc93cd07fd4696383166a7870cd2bc2 /scripts/lib/devtool/utilcmds.py
parent41280e390ab6f29fb8596bd520c0a2f228bb2625 (diff)
downloadpoky-0eee59b3dbaa3b1879ac7fdf79c94a8bf942bfe0.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: aa03556732b295fcf4bc2de11e3bc2e2b364580e) 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