From 921359c1257a3e30aa46e491c2c00817b838e52c Mon Sep 17 00:00:00 2001 From: Seiji Sogabe Date: Fri, 20 Jan 2012 22:36:41 +0900 Subject: [PATCH] [FIXED JENKINS-12356] month should not be 0. --- changelog.html | 3 +++ core/src/main/java/hudson/scheduler/BaseParser.java | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/changelog.html b/changelog.html index 0dc7afd85a..80347447f9 100644 --- a/changelog.html +++ b/changelog.html @@ -59,6 +59,9 @@ Upcoming changes install-plugin CLI command fails to put a file in the right location when installing from URL.
  • Fixed a bug where long post-production processing in matrix jobs can cause incorrect abortion. +
  • + month should not be 0. + (issue 12356) diff --git a/core/src/main/java/hudson/scheduler/BaseParser.java b/core/src/main/java/hudson/scheduler/BaseParser.java index 142d35e3b6..13361d3e01 100644 --- a/core/src/main/java/hudson/scheduler/BaseParser.java +++ b/core/src/main/java/hudson/scheduler/BaseParser.java @@ -36,7 +36,7 @@ import antlr.TokenStreamException; * @author Kohsuke Kawaguchi */ abstract class BaseParser extends LLkParser { - private static final int[] LOWER_BOUNDS = new int[] {0,0,1,0,0}; + private static final int[] LOWER_BOUNDS = new int[] {0,0,1,1,0}; private static final int[] UPPER_BOUNDS = new int[] {59,23,31,12,7}; /** -- GitLab