projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1a91ea
)
[FIX]: base_calendar: Missing function
author
rpa (Open ERP)
<rpa@openerp.co.in>
Tue, 2 Mar 2010 05:28:50 +0000
(10:58 +0530)
committer
rpa (Open ERP)
<rpa@openerp.co.in>
Tue, 2 Mar 2010 05:28:50 +0000
(10:58 +0530)
lp bug: https://launchpad.net/bugs/528525 fixed
bzr revid: rpa@openerp.co.in-
20100302052850
-6vk2ktnfxxj8mxtk
addons/base_calendar/base_calendar.py
patch
|
blob
|
history
diff --git
a/addons/base_calendar/base_calendar.py
b/addons/base_calendar/base_calendar.py
index
5ec7d36
..
5847628
100644
(file)
--- a/
addons/base_calendar/base_calendar.py
+++ b/
addons/base_calendar/base_calendar.py
@@
-37,6
+37,9
@@
months = {
10:"October", 11:"November", 12:"December"}
def get_recurrent_dates(rrulestring, exdate, startdate=None):
+ def todate(date):
+ val = parser.parse(''.join((re.compile('\d')).findall(date)) + 'Z')
+ return val
if not startdate:
startdate = datetime.now()
rset1 = rrule.rrulestr(rrulestring, dtstart=startdate, forceset=True)