mckoss / pageforest

Automatically exported from code.google.com/p/pageforest
0 stars 0 forks source link

List with "since" option returns empty set #74

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Steps to Reproduce:

Using the API:
  var options.since = "1970-1-1T00:00:00.0000Z";

  storage.list(username, entitytype, options, function(raw, textStatus, xmlhttp) {
    // result is empty
}

Taking since option out, a list returned as expected.

Original issue reported on code.google.com by thomas....@gmail.com on 18 Jan 2011 at 9:21

GoogleCodeExporter commented 9 years ago
The format is incorrect.  ISO-8601 mandates an (exactly) two-digit month and 
day field.

http://en.wikipedia.org/wiki/ISO_8601
"Each date and time value has a fixed number of digits that must be padded with 
leading zeros."

But it IS a bug that you did not get an error message.  I fixed that in 
changeset 8976e00d40f5

Original comment by mckoss@gmail.com on 19 Jan 2011 at 6:08