** Changed in: evolution-data-server
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to evolution-data-server in
Ubuntu.
https://bugs.launchpad.net/bugs/35115

Title:
  time_from_isodate should not require seconds to be specified

Status in evolution-data-server:
  Invalid
Status in evolution-data-server package in Ubuntu:
  Triaged

Bug description:
  From the description of time_from_isodate:

   * time_from_isodate:
   * @str: Date/time value in ISO 8601 format.
   * 
   * Converts an ISO 8601 UTC time string into a time_t value.

  However, it doesn't handle times, only dates:

  With 
  #include <stdio.h>
  #include <libecal/e-cal-time-util.h>

  int main(int argc, char **argv) {
      printf("%d %s\n", time_from_isodate(argv[1]), argv[1]);
  }

  as our sample program, compiled using:

  $ gcc $(pkg-config --libs --cflags libecal-1.2) test.c -o testt

  We then get:

  : tfheen@thosu /tmp > ./testt 20050601T010
  -1 20050601T010
  : tfheen@thosu /tmp > ./testt 20050601T010Z
  -1 20050601T010Z
  : tfheen@thosu /tmp >

To manage notifications about this bug go to:
https://bugs.launchpad.net/evolution-data-server/+bug/35115/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to