Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When running a query with a given fromdate value, values which match fromdate - 1 are returned.

An example: When using fromdate=1367715851 results will be returned which have a creation_date of 1367715850. However, when fromdate=1367715852 the erroneous result is no longer returned.

This API call reproduces the problem:

The expected result is an empty list of items, as in the call for fromdate=1367715852:

And only fromdate=1367715850 or less should return this result.

share|improve this question
up vote 1 down vote accepted

Tricky, this was complication of date rounding (we store dates with sub-second precision in the DB) and some bad math when converting unix epoch dates for certain routes.

The latest build should fix these bugs.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .