Commits

Remy Blank  committed fb5e902

0.11.7dev: Fixed a test case that assumed we would never see the light of 2010 ;-)

  • Participants
  • Parent commits 41f1750
  • Branches 0.11-stable

Comments (0)

Files changed (1)

File trac/ticket/tests/notification.py

         """Date format compliance (RFC822) 
            we do not support 'military' format""" 
         date_str = r"^((?P<day>\w{3}),\s*)*(?P<dm>\d{2})\s+" \
-                   r"(?P<month>\w{3})\s+(?P<year>200\d)\s+" \
+                   r"(?P<month>\w{3})\s+(?P<year>\d{4})\s+" \
                    r"(?P<hour>\d{2}):(?P<min>[0-5][0-9])" \
                    r"(:(?P<sec>[0-5][0-9]))*\s" \
                    r"((?P<tz>\w{2,3})|(?P<offset>[+\-]\d{4}))$"