Permalink
Browse files

fix some broken asumption about month

  • Loading branch information...
1 parent f369398 commit 3deba10661062ce7689d702a116258b72e97847f @kiorky kiorky committed Mar 10, 2013
Showing with 4 additions and 0 deletions.
  1. +2 −0 Products/CMFBibliographyAT/content/base.py
  2. +2 −0 docs/CHANGES.rst
@@ -340,6 +340,8 @@ def getPublicationDate(self):
if month:
try:
month = int(month)
+ if month > 12:
+ raise ValueError()
except ValueError:
try:
# This is probably a string
View
@@ -15,6 +15,8 @@ Changelog
* fix migration [kiorky]
+* fix some broken asumption about month [kiorky]
+
* handle some utf-8 decode problems [kiorky]
* fix schema access in subclasses (fix conferences atleast) [kiorky]

0 comments on commit 3deba10

Please sign in to comment.