Re: Leap year bug?

2016-03-01 Thread Matthew Buckett
On 29 February 2016 at 21:23, Adam Kocoloski wrote: > I suspect it’s still a bug in master as well. Do you mind filing a JIRA? Done: https://issues.apache.org/jira/browse/COUCHDB-2956 -- Matthew Buckett, VLE Developer, IT Services, University of Oxford

Re: Leap year bug?

2016-02-29 Thread Alexander Shorin
Nice bug found! (: -- ,,,^..^,,, On Tue, Mar 1, 2016 at 12:23 AM, Adam Kocoloski wrote: > Definitely a bug. We set the favicon.ico to expire “one year from now”, and > we do that by incrementing the year by one and keeping all other elements of > the date the same :) > > https://github.com/apa

Re: Leap year bug?

2016-02-29 Thread Adam Kocoloski
Definitely a bug. We set the favicon.ico to expire “one year from now”, and we do that by incrementing the year by one and keeping all other elements of the date the same :) https://github.com/apache/couchdb/blob/1.6.1/src/couchdb/couch_httpd_misc_handlers.erl#L49

Leap year bug?

2016-02-29 Thread Matthew Buckett
I was just running my couch instance today and whenever I request the favicon (/favicon.ico) I get this in my logs: couchdb_1 | [error] [<0.20390.0>] Uncaught error in HTTP request: {error,if_clause} couchdb_1 | [info] [<0.20390.0>] Stacktrace: [{calendar,date_to_gregorian_days,3, couchdb_1 | [{fi