Skip to content
Commit aa035567 authored by Ross Burton's avatar Ross Burton Committed by Steve Sakoman
Browse files

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: default avatarRoss Burton <ross.burton@arm.com>
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9aa0ec37)
Signed-off-by: default avatarSteve Sakoman <steve@sakoman.com>
parent a2d50c0f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment