Return-Path: X-Original-To: apmail-community-commits-archive@minotaur.apache.org Delivered-To: apmail-community-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2D0B610E94 for ; Thu, 27 Aug 2015 14:50:49 +0000 (UTC) Received: (qmail 60357 invoked by uid 500); 27 Aug 2015 14:50:49 -0000 Delivered-To: apmail-community-commits-archive@community.apache.org Received: (qmail 60331 invoked by uid 500); 27 Aug 2015 14:50:49 -0000 Mailing-List: contact commits-help@community.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@community.apache.org Delivered-To: mailing list commits@community.apache.org Received: (qmail 60322 invoked by uid 99); 27 Aug 2015 14:50:49 -0000 Received: from eris.apache.org (HELO hades.apache.org) (140.211.11.105) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Aug 2015 14:50:49 +0000 Received: from hades.apache.org (localhost [127.0.0.1]) by hades.apache.org (ASF Mail Server at hades.apache.org) with ESMTP id F0024AC022E for ; Thu, 27 Aug 2015 14:50:48 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1698177 - /comdev/reporter.apache.org/trunk/site/render.js Date: Thu, 27 Aug 2015 14:50:48 -0000 To: commits@community.apache.org From: sebb@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20150827145048.F0024AC022E@hades.apache.org> Author: sebb Date: Thu Aug 27 14:50:48 2015 New Revision: 1698177 URL: http://svn.apache.org/r1698177 Log: Still not working ... Modified: comdev/reporter.apache.org/trunk/site/render.js Modified: comdev/reporter.apache.org/trunk/site/render.js URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/render.js?rev=1698177&r1=1698176&r2=1698177&view=diff ============================================================================== --- comdev/reporter.apache.org/trunk/site/render.js (original) +++ comdev/reporter.apache.org/trunk/site/render.js Thu Aug 27 14:50:48 2015 @@ -80,7 +80,7 @@ function getWednesdays(mo, y) { } // s.match(/^(Every|Next) month/) does not seem to match Next month? function everyMonth(s) { - return s == 'Every month' || s.match(/^Next month/) + return s == 'Every month' || s.indexOf("Next month") == 0 } // Called by: GetAsyncJSON("reportingcycles.json?" + Math.random(), [pmc, reportdate, json.pdata[pmc].name], setReportDate)