board-status: fix weekly format

The last few days of the year might belong to the first
week of the new year in the ISO week numbering scheme.

GNU date accounts for that with different-than-usual
notation.

Change-Id: I8047c197971077a845d6c1fdc9da6eb9f3741539
Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
Reviewed-on: http://review.coreboot.org/4610
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
Patrick Georgi 2014-01-02 09:19:21 +01:00 committed by Stefan Reinauer
parent fd3451d72d
commit 47777569d2
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
# into buckets of the given granularity
weekly() {
date --date="$1" +%YW%V
date --date="$1" +%GW%V
}
monthly() {