[Flashr] question about flickr.photos.search
Kelvin Luck
kelvin at kelvinluck.com
Sun Mar 25 06:45:51 EST 2007
Tatsuya Takagi wrote:
> Hi,
>
> I have a question about flickr.photos.search.
>
> To get photos taken in a specific time, I call Flashr 0.4 API like following.
>
> Flickr.getFlickr().photosSearch({min_taken_date:"2007-01-01
> 00:00:00",max_taken_date:"2007-01-01
> 00:20:00",extras:"date_taken,original_format", per_page:10});
>
> But photos I got as a result are taken between 2007-01-01 08:00 and 08:20,
> not taken between 2007-01-01 00:00 and 00:20.
>
> For example:
> http://www.flickr.com/photo_exif.gne?id=423286299
> This is taken on January 1, 2007 at 8.11am PST(= 16.11pm UTC).
>
>
> Could you tell me how can I understand this result?
>
> Thanks in advance,
>
> --
> tatsuya
Hi,
It sounds like it is something to do with flickr being confused by
timezones...
I got the same results in the API Explorer (
http://www.flickr.com/services/api/explore/?method=flickr.photos.search ):
http://api.flickr.com/services/rest/?method=flickr.photos.search&api_key=6d3ea12f859cf784e776e78ffb018001&min_taken_date=2007-01-01+00%3A00%3A00&max_taken_date=2007-01-01+00%3A20%3A00&extras=date_taken&auth_token=2289451-e3d7c91bdd6c8adf&api_sig=7805eb9268038342ccfa86354ddd3283
I've asked if anyone knows what is going on on the flickr mailing list:
http://tech.groups.yahoo.com/group/yws-flickr/message/2916
I'll let you know if I get any answers...
Cheers,
Kelvin :)
More information about the Flashr
mailing list