Menu

#200 date_to_struct fails with Evolution 2.28.3

closed-out-of-date
rra (13)
5
2015-12-17
2010-06-26
Kirk Meyer
No

date_to_struct in lib/contact.c is failing with "Bad date" when syncing with Evolution 2.28.3. It seems the vcard evolution is exporting has BDAY as yyyymmdd rather than yyyy-mm-dd. The anniversary and other date fields seem intact. I successfully fixed the problem by adding another case sscanf(datetime, "%4hd%2hd%2hd", ...) if the first sscanf failed.

Discussion

  • Kirk Meyer

    Kirk Meyer - 2010-06-26
     
  • David Eriksson

    David Eriksson - 2010-06-28

    Thanks for your bug report! I'll see if I can get someone to commit your patch... :-)

     
  • David Eriksson

    David Eriksson - 2010-07-02

    Mark, are you able to review and commit this fix?

    Cheers,
    David

     
  • David Eriksson

    David Eriksson - 2010-07-02
    • assigned_to: twogood --> mark_ellis
     
  • David Eriksson

    David Eriksson - 2015-12-17
    • Status: open --> closed-out-of-date
     

Log in to post a comment.