[coreboot-gerrit] New patch to review for coreboot: 275976b board-status: fix weekly format

Patrick Georgi (patrick@georgi-clan.de) gerrit at coreboot.org
Fri Jan 3 23:46:09 CET 2014


Patrick Georgi (patrick at georgi-clan.de) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/4610

-gerrit

commit 275976b8e5ec0b6105e2ca44512af30271a05436
Author: Patrick Georgi <patrick at georgi-clan.de>
Date:   Thu Jan 2 09:19:21 2014 +0100

    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 at georgi-clan.de>
---
 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 19a7c77..a0d2e95 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() {



More information about the coreboot-gerrit mailing list