[Metalab Issues] #150: Kalender-Abfrage mit ungültigem Datum führt zu 500er

Metalab Issues issues at lists.metalab.at
Mon Mar 4 21:07:03 CET 2013


#150: Kalender-Abfrage mit ungültigem Datum führt zu 500er
-------------------+----------------
Reporter:  hop     |     Owner:
    Type:  defect  |    Status:  new
Priority:  major   |  Keywords:  mos
-------------------+----------------
 https://metalab.at/calendar/2013/00/

 {{{
 Traceback (most recent call last):

   File "/django/svn/trunk/django/core/handlers/base.py", line 86, in
 get_response
     response = callback(request, *callback_args, **callback_kwargs)

   File "/django/deployment/mos/cal/views.py", line 85, in monthly
     s = date(int(year), int(month), 1)

 ValueError: month must be in 1..12
 }}}

-- 
Ticket URL: <https://metalab.at/issues/ticket/150>
Metalab Issues <https://metalab.at/issues>
Metalab is a Hackerspace in Vienna's first district.



More information about the issues mailing list