]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
cve-update-nvd2-native: use exact times, don't truncate
authorRoss Burton <ross.burton@arm.com>
Fri, 23 Jun 2023 12:32:50 +0000 (13:32 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 27 Jun 2023 15:23:34 +0000 (16:23 +0100)
commit9aa0ec37f5f74252588d2494a71c71a7d8e68df9
treebeab4a7dcea5e93da65e1e58c526edd5854b183f
parente1bf4f6dd686055fe9a8bdcc3f739eac2807bae0
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.

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>
meta/recipes-core/meta/cve-update-nvd2-native.bb