Commit 252b21a1 authored by Nicolas Chauvat's avatar Nicolas Chauvat
Browse files

0.7.0 is now stable

--HG--
branch : stable
......@@ -14,3 +14,5 @@ e81e20d9a24f07c3b1a12555c16e74ebfa0c3692 cubicweb-calendar-version-0.5.0
d194794ace878a5c007d2e687b4e2ec4284aecda cubicweb-calendar-debian-version-0.5.0-1
1ea9959e951566606707512bb9a74b2f9f988b10 cubicweb-calendar-version-0.6.0
b46042bc855fea7897b8c56c1985c5617479d280 cubicweb-calendar-debian-version-0.6.0-1
5af9e78dc28e177f9cb1fb394a578817b5fec970 cubicweb-calendar-version-0.7.0
1ee10f584d829cdf843ed8d85cf7bc8c375cff24 cubicweb-calendar-debian-version-0.7.0-1
......@@ -4,7 +4,7 @@
modname = 'calendar'
distname = 'cubicweb-calendar'
numversion = (0, 6, 0)
numversion = (0, 7, 0)
version = '.'.join(str(num) for num in numversion)
license = 'LGPL'
......
cubicweb-calendar (0.7.0-1) unstable; urgency=low
* new upstream release
-- Nicolas Chauvat <nicolas.chauvat@logilab.fr> Thu, 18 Aug 2011 15:45:52 +0200
cubicweb-calendar (0.6.0-1) unstable; urgency=low
* new upstream release
......
......@@ -47,6 +47,8 @@ _affk.tag_subject_of(('Timeperiod', 'day_type', '*'),
{'choices': daytype_choices})
def _parse_datestr(datestr):
if datestr.lower() == 'today':
return todate(datetime.datetime.today())
if len(datestr) == 4:
datestr += '0101'
elif len(datestr) == 6:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment