From 47777569d234ff4ed0703ac176586bd09d3ed992 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Thu, 2 Jan 2014 09:19:21 +0100 Subject: 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 Reviewed-on: http://review.coreboot.org/4610 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- util/board_status/to-wiki/bucketize.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/board_status/to-wiki/bucketize.sh b/util/board_status/to-wiki/bucketize.sh index 19a7c77c5e..a0d2e95679 100755 --- a/util/board_status/to-wiki/bucketize.sh +++ b/util/board_status/to-wiki/bucketize.sh @@ -4,7 +4,7 @@ # into buckets of the given granularity weekly() { - date --date="$1" +%YW%V + date --date="$1" +%GW%V } monthly() { -- cgit v1.2.3