Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #1889 -- support dates in post_list #2394

Merged
merged 1 commit into from Jul 18, 2016
Merged

Fix #1889 -- support dates in post_list #2394

merged 1 commit into from Jul 18, 2016

Conversation

@Kwpolska
Copy link
Member

@Kwpolska Kwpolska commented Jul 13, 2016

This adds support for date filtering in post_list using a set of filters. I vendored in my datecond library, under the 3-clause BSD license (but if anyone objects, we could make it an optional external dependency, or I could even agree to switch to dual-licensing)

Example:

.. post-list::
   :date: year < 2016, month != 5

Shows all posts written before 2016 and not written in May.

cc @erdgeist (reporter of #1889)

Signed-off-by: Chris Warrick <kwpolska@gmail.com>
@Kwpolska Kwpolska added this to the v7.8.0 milestone Jul 13, 2016
@ralsina
Copy link
Member

@ralsina ralsina commented Jul 18, 2016

This looks pretty awesome!

@ralsina
Copy link
Member

@ralsina ralsina commented Jul 18, 2016

Sorry, I merged a couple of branches, if you fix conflicts, feel free to merge, code LGTM

@Kwpolska Kwpolska merged commit dd02d68 into master Jul 18, 2016
4 checks passed
Kwpolska added a commit that referenced this issue Jul 18, 2016
@ralsina ralsina deleted the post-list-date branch Jul 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants