Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubes
calendar
Commits
47c5370fdf90
Commit
252b21a1
authored
Jan 24, 2012
by
Nicolas Chauvat
Browse files
0.7.0 is now stable
--HG-- branch : stable
parents
3ccb9d4e43c6
082e883a7a0c
Changes
4
Hide whitespace changes
Inline
Side-by-side
.hgtags
View file @
47c5370f
...
...
@@ -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
__pkginfo__.py
View file @
47c5370f
...
...
@@ -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'
...
...
debian/changelog
View file @
47c5370f
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
...
...
views/__init__.py
View file @
47c5370f
...
...
@@ -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
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment