diff options
author | Ricardo Quesada <ricardoq@google.com> | 2021-09-22 20:08:35 -0700 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-09-24 18:08:43 +0000 |
commit | 1427f12adf8092b8ab7c9963f16f3e4683c81498 (patch) | |
tree | 9dc37708f2e3dc3bc0fb136ba3309423b870a515 /src/Kconfig | |
parent | 325f431a9176cd9726474a08d9942819f4643ed9 (diff) |
elogtool: Fix off-by-one error in month in timestamp
elogtool was setting the timestamp with the wrong value in the month.
This CL fixes that by incrementing the month by one. This is needed
since gmtime() returns the month value starting at 0.
TEST=pytest elogtool_test.py (see next CL in relation chain)
Change-Id: I00f89ed99b049caafba2e47feae3c068245f9021
Signed-off-by: Ricardo Quesada <ricardoq@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/57868
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Diffstat (limited to 'src/Kconfig')
0 files changed, 0 insertions, 0 deletions