]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.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)
committerSteve Sakoman <steve@sakoman.com>
Thu, 13 Jul 2023 16:54:58 +0000 (06:54 -1000)
commite12b81ede54c92e372f0d80373bb91254d0a889f
tree2a00c33e6825268044a72e8d1fbab5cb2eee45c0
parente521d6ce48d3b04eb2d53c710bba18593a908fe3
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>
(cherry picked from commit 9aa0ec37f5f74252588d2494a71c71a7d8e68df9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-core/meta/cve-update-nvd2-native.bb