]> 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:39:45 +0000 (06:39 -1000)
commit91243ad474be00e55aa99355edef44f2fe2311f1
treeb7bb3724b1bb42f6c84d8544061735317083b690
parent7614e00b9491e5d4d6df5492f72613a56ab390d7
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