Skip to content

Commit

Permalink
Merge pull request #2032 from UV-CDAT/issue_2031_seasons_broke
Browse files Browse the repository at this point in the history
needed to duplicate yr fully in case the year starts in October for e…
  • Loading branch information
doutriaux1 authored Jun 22, 2016
2 parents b6308cc + db293fa commit 218a6c8
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 218a6c8

Please sign in to comment.