feedbin / feedbin-api

Feedbin API Documentation
349 stars 26 forks source link

created_at date in the future? #57

Closed kunalsood closed 3 years ago

kunalsood commented 3 years ago

I'm trying to fetch recent articles using GET /v2/entries.json with the since parameters. My requests look something like: https://api.feedbin.com/v2/entries.json?include_content_diff=false&include_enclosure=false&include_original=false&mode=extended&per_page=100&read=true&since=2021-07-10T04%3A35%3A19.266000Z.

But, the response I receive include entries that have created_at with values that look like 44798-09-06T04:00:00.000000Z. Here's an example:

{
    author = "Adam Dachis";
    content = "<p><a rel=\"lytebox\" href=\"http://img.gawkerassets.com/img/183oomwxueossjpg/original.jpg\"><img src=\"http://img.gawkerassets.com/img/183oomwxueossjpg/medium.jpg\" width=\"300\" alt=\"Organize Your Desktop, Files, and Folders with These Color-Coded Dropbox Icons\" title=\"Organize Your Desktop, Files, and Folders with These Color-Coded Dropbox Icons\"></a>Keeping your desktop, files, and folders organized can be a bit of work, so it helps to <a href=\"http://lifehacker.com/5932527/how-can-i-get-my-messy-desktop-under-control\">have an in-and-out system</a> you can use to always store your work. To make that easier, I created a set of color-coded dropbox icons you can use to sort all your stuff. </p>\n<p>You can see all of the icons above. There are eight colors of the inboxes and the outboxes. Nothing's specifically labeled so you can use them for anything, and they work nicely with OS X's color-coded labels (or <a href=\"http://www.proggle.com/labels/lite/\">an app that adds colored labels to Windows Explorer</a>). The icons come as a zip file containing an iContainer, OS X folders, and individual icons in ICO, ICNS, and PNG format so you should have no trouble using them anywhere. Download freely and use them as you please.</p>\n<p><a href=\"http://edge-cache.lifehacker.com/lifehacker/DropboxIcons.zip\">Dropbox Icons</a> | Lifehacker</p><img src=\"http://feeds.feedburner.com/~r/lifehacker/vip/~4/j-T0HvtLwY8\" height=\"1\" width=\"1\">";
    "created_at" = "44798-09-06T04:00:00.000000Z";
    enclosure = "<null>";
    "extracted_articles" =     (
    );
    "extracted_content_url" = "--REDACTED--";
    "feed_id" = 1514;
    id = 568105654;
    images = "<null>";
    "json_feed" = "<null>";
    original = "<null>";
    published = "2014-09-23T18:39:34.373943Z";
    summary = "Keeping your desktop, files, and folders organized can be a bit of work, so it...";
    title = "Organize Your Desktop, Files, and Folders with These Color-Coded Dropbox Icons";
    "twitter_id" = "<null>";
    "twitter_thread_ids" =     (
    );
    url = "http://lifehacker.com/5955922/organize-your-desktop-files-and-folders-with-these-color+coded-dropbox-icons";
}

For my case, I am receiving 38 such entries from the same feed, but, I suspect other users of my app might run into similar entries. Is this a bug? Or am I doing something incorrectly?

benubois commented 3 years ago

Interesting find! It looks like there was a brief period of time back in 2014 where the created_at date was being populated with incorrect values.

These have been corrected.