+ [2013-12-18T05:49:03Z] travis-ci [travis-ci] Change view : https://github.com/jekyll/jekyll-import/compare/v0.1.0
+ [2013-12-18T05:52:24Z] travis-ci [travis-ci] jekyll/jekyll-import#293 (master - eb6eee3 : Parker Moore): The build passed.
+ [2013-12-18T05:52:24Z] travis-ci [travis-ci] Build details : http://travis-ci.org/jekyll/jekyll-import/builds/15628061
+ [2013-12-18T05:52:24Z] travis-ci [travis-ci] Change view : https://github.com/jekyll/jekyll-import/compare/8ffbd4412864...eb6eee334a4e
+ [2013-12-18T07:06:27Z] pontiki børk børk børk

message no. 15166

Posted by travis-ci in #jekyll at 2013-12-18T05:24:42Z

[travis-ci] Build details : http://travis-ci.org/jekyll/jekyll-import/builds/15627432
+ [2013-12-19T06:31:02Z] anth0ny_ I'm listing a bunch of events (each event is a post). I want two sections on one page: upcoming events and past events. I've found that I can do {% if event.date > site.time %} when iterating through events, but that puts any event that occurs today in the "past events" section since all the event times are set to 00:00:00. Is there a way to do something like {% if event.date + 1_DAY > site.time %} ?
+ [2013-12-19T06:31:11Z] anth0ny_ obviously, that won't work, but you get the ideat
+ [2013-12-19T06:34:19Z] jaybe hi anth0ny_. you could assign just the date portion to a variable and test upon that. e.g. {% capture mydate %} {{ event.date | FILTER_HERE }} {% endcapture %} ...
+ [2013-12-19T06:35:25Z] anth0ny_ jaybe: interesting, although I'm not fully understanding how that works. any examples?
+ [2013-12-19T06:36:11Z] jaybe anth0ny_, well, the general idea could be accomplished in different ways... for example, there is a `date` filter whereby you could convert the date to another 'format'