Ignore:
Timestamp:
2010-08-14T13:44:35Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
e5854a8
Parents:
5848675 (diff), 136c2bb (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline stuff.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/twitter/twitter_lib.c

    r5848675 r07874be  
    357357}
    358358
     359#ifdef __GLIBC__
     360#define TWITTER_TIME_FORMAT "%a %b %d %H:%M:%S %z %Y"
     361#else
     362#define TWITTER_TIME_FORMAT "%a %b %d %H:%M:%S +0000 %Y"
     363#endif
    359364
    360365/**
     
    393398                           this field. :-( Also assumes the timezone used
    394399                           is UTC since C time handling functions suck. */
    395                         if( strptime( child->text, "%a %b %d %H:%M:%S %z %Y", &parsed ) != NULL )
     400                        if( strptime( child->text, TWITTER_TIME_FORMAT, &parsed ) != NULL )
    396401                                txs->created_at = mktime_utc( &parsed );
    397402                }
Note: See TracChangeset for help on using the changeset viewer.