Skip to content

Commit

Permalink
needed to duplicate yr fully in case the year starts in October for e…
Browse files Browse the repository at this point in the history
…xample
  • Loading branch information
doutriaux1 committed Jun 20, 2016
1 parent 7c59719 commit 8e7d4fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Packages/cdutil/Lib/times.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 []
Expand Down

0 comments on commit 8e7d4fb

Please sign in to comment.