From 191c1c59b7e38d18a359cde58ecdee4c1c420be7 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Sat, 2 Jan 2016 20:29:43 +0100 Subject: off-by-one in weekofyear --- snooze.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'snooze.c') diff --git a/snooze.c b/snooze.c index 3a5185d..22be6be 100644 --- a/snooze.c +++ b/snooze.c @@ -147,7 +147,7 @@ char weekday[8] = {0}; char dayofmonth[31] = {0}; char month[12] = {0}; char dayofyear[366] = {0}; -char weekofyear[53] = {0}; +char weekofyear[54] = {0}; char hour[24] = {0}; char minute[60] = {0}; char second[61] = {0}; -- cgit v1.2.3