×

Discussion Board

Results 1 to 1 of 1
  1. #1
    Regular Contributor
    Join Date
    Jan 2008
    Posts
    56

    help with calendar , maybe a bug ?

    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 11:59.

Similar Threads

  1. Native Calendar : Bug??
    By Symbian_Neil in forum Symbian C++
    Replies: 2
    Last Post: 2007-10-05, 09:09
  2. PC Suite 6.70.22 calendar synch bug
    By nsmeds in forum PC Suite API and PC Connectivity SDK
    Replies: 6
    Last Post: 2006-04-04, 22:51
  3. A bug: setColor with offscreen graphics - PLEASE, REPLY THIS TIME
    By palmcrust in forum Mobile Java General
    Replies: 11
    Last Post: 2003-12-04, 12:43
  4. Is this a calendar bug???
    By ahmedb_ in forum Mobile Java General
    Replies: 1
    Last Post: 2003-10-07, 20:16
  5. Firmware bug or code bug displaying list on 3650
    By blackjack75 in forum Mobile Java General
    Replies: 2
    Last Post: 2003-09-24, 19:52

Posting Permissions

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