From 8e7d4fbc6593ed745b2a6e7733ea0b2183ff71a2 Mon Sep 17 00:00:00 2001 From: Charles Doutriaux Date: Mon, 20 Jun 2016 15:18:41 -0700 Subject: [PATCH] needed to duplicate yr fully in case the year starts in October for example --- Packages/cdutil/Lib/times.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Packages/cdutil/Lib/times.py b/Packages/cdutil/Lib/times.py index 4b4c9de7cb..fdbc9ba8e2 100644 --- a/Packages/cdutil/Lib/times.py +++ b/Packages/cdutil/Lib/times.py @@ -118,7 +118,7 @@ def getMonthIndex(my_str): # end of for mon in mon_list: yr = 'JFMAMJJASOND' - yrs = yr+yr[:6] + yrs = yr+yr # result = string.find(yrs, my_str) if result == -1: return []