diff options
author | Patrick Georgi <patrick@georgi-clan.de> | 2014-01-02 09:19:21 +0100 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2014-01-04 00:05:08 +0100 |
commit | 47777569d234ff4ed0703ac176586bd09d3ed992 (patch) | |
tree | b8bfcfd7bd3a306148b10abc77b9b76f2cd1fc6d | |
parent | fd3451d72d49cc08a2c2ad6fd5f9a4174b42b0e4 (diff) |
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>
-rwxr-xr-x | util/board_status/to-wiki/bucketize.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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() { |