Closed kashav closed 8 years ago
Not too sure why that test was failing, passed when I tested locally. Removed for the time being.
I'll start testing this first thing tomorrow. From my first glance it's looking good!
I'm guessing there's no nice way to have the date outputted localized for Eastern timezone? I see Mongo converts it to the zero-offset UTC.
I think something like this could work.
We'd just subtract the offset from the datetime when converting date strings (after importing the dataset).
Let's leave it as is for now and can revisit later. I've a feeling we'll run into more datetime problems as the project progresses. GG time.
Y,m,d,H,M,S
(like a JavaScriptDate
)Some filter examples:
/1.0/athletics/filter?q=title:"rock climbing" AND date:"2016,04,04"
/1.0/athletics/filter?q=start:<"2016,04,01,12"
https://github.com/cobalt-uoft/cobalt/issues/57