×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Aug 2007
    Location
    Jerusalem, Israel
    Posts
    5

    Unhappy Calendar find_instances returns wrong datetime values

    Hi all,

    I have the following problem:
    I use the find_instances function of the CalendarDB module, to seek for meeting from now (time.time()) a week on. First of all, I get instances which occoured before the start date. More seriously, the 'datetime' attribute of the instances contains just the date of the instance. The time is always 00:00:00. How can this be fixed? I cannot refer to the start_time of the corresponding meeting, because it is a repeating event, and it gives me the time+date of the initial meeting. Did anyone else had this problem?

    Thanks,
    Ariel

  2. #2
    Registered User
    Join Date
    Aug 2007
    Location
    Jerusalem, Israel
    Posts
    5

    Re: Calendar find_instances returns wrong datetime values

    Well, if it interests anybody I solved it by a workaround, getting the real time of the meeting with the line

    Code:
    datetime = instance['datetime'] + (meeting.start_time % day)
    but this is quite ugly.
    Anyway, it doesn't solve the first problem

    Ariel

Similar Threads

  1. Canvas.getHeight() return wrong values
    By bluebelle_88 in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2010-04-22, 07:05
  2. 6230 DeviceClass API returns wrong bits?
    By mlaverd in forum Bluetooth Technology
    Replies: 1
    Last Post: 2004-10-16, 18:24
  3. font.getHeight returns different values among devices s40
    By dpolyakov in forum Mobile Java General
    Replies: 2
    Last Post: 2004-02-16, 14:02
  4. Personal
    By JSmith77 in forum PersonalJava
    Replies: 4
    Last Post: 2003-07-30, 12:52
  5. getPixels() returns pixels for wrong Graphicsobject
    By kyhlis in forum Mobile Java Media (Graphics & Sounds)
    Replies: 1
    Last Post: 2003-04-29, 14:07

Posting Permissions

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