| Reply | « Previous Thread | Next Thread » |
|
Hey
seems find_instances and monthly instances doesnt give me back appointments occuring on the last day of the month but find_instances can find them on a wide range. example: Code:
>>> st=str2time('2008-03-30')
>>> cal.daily_instances(st)
[{'id': 3, 'datetime': 1206856800.0}]
>>> en=str2time('2008-04-01')
>>> cal.daily_instances(en)
[{'id': 4, 'datetime': 1207051200.0}]
>>> cal.find_instances(st,en)
[{'id': 3, 'datetime': 1206856800.0}, {'id': 59, 'datetime': 1206968400.0}, {'id': 4, 'datetime': 1207051200.0}]
>>> m=1206856800.0
>>> cal.daily_instances(m)
[{'id': 3, 'datetime': 1206856800.0}]
>>> cal.find_instances(m,m)
[{'id': 3, 'datetime': 1206856800.0}]
>>> m=1206968400.0
>>> cal.daily_instances(m)
[]
>>> cal.find_instances(m,m)
[]
>>> m=str2time('2008-03-31')
>>> cal.daily_instances(m)
[]
>>> cal.find_instances(m,m)
[]
>>>
find_instances i'll get the one between them which is on 3/31. but i cant get that day alone no matter what. same bug on 2008-02-29 which is the last day a month aswell. everything works fine with events. any idea? maybe i do something wrong ? thx Roi
Last edited by roidayan : 2008-04-04 at 12:59.
|
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| Native Calendar : Bug?? | Symbian_Neil | General Symbian C++ | 2 | 2007-10-05 10:09 |
| PC Suite 6.70.22 calendar synch bug | nsmeds | PC Suite API and PC Connectivity SDK | 6 | 2006-04-04 23:51 |
| A bug: setColor with offscreen graphics - PLEASE, REPLY THIS TIME | palmcrust | Mobile Java General | 11 | 2003-12-04 13:43 |
| Is this a calendar bug??? | ahmedb_ | Mobile Java General | 1 | 2003-10-07 21:16 |
| Firmware bug or code bug displaying list on 3650 | blackjack75 | Mobile Java General | 2 | 2003-09-24 20:52 |