From 457a81697ecdc75e81f518579232b56c8074c63e Mon Sep 17 00:00:00 2001 From: gorhill Date: Sat, 31 Aug 2013 08:24:52 -0400 Subject: [PATCH] code typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e2b97e3..b67cfd0 100644 --- a/README.md +++ b/README.md @@ -86,7 +86,7 @@ You can keep the returned Expression pointer around if you want to reuse it: expr := cronexpression.Parse("0 0 29 2 *") nextTime := expr.Next(time.Now()) ... - nextTime := expr.Next(nextTime) + nextTime = expr.Next(nextTime) Use `time.IsZero()` to find out whether a valid time was returned. For example,