You Are Here:

Community: Developer Discussion Boards

#1 Old help with calendar , maybe a bug ? - 2008-04-04, 12:54

Join Date: Jan 2008
Posts: 56
roidayan
Offline
Regular Contributor
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)
[]
>>>
as you can see i can get appointments from 3/30 and 4/1 alone and if i use
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 With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
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

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia