[GrandComicsDatabase/gcd-django] Date range searches use an open interval (Issue #564)

0 views
Skip to first unread message

Richard Thomson

unread,
Oct 19, 2022, 11:45:36 AM10/19/22
to GrandComicsDatabase/gcd-django, Subscribed

Consider this search that looks for the feature "Horsepower" from Dark Horse comics:

Dark Horse text/promo Horsepower

Note that the start date is 1999-01-01 and it picks up stories from January, 2000.

Now change the start date to 2000-01-01 and you would expect the January, 2000 stories to still be picked up, but now they are omitted.

It appears that the search is using an "open interval" on the date and not a closed interval that includes the start date?


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <GrandComicsDatabase/gcd-django/issues/564@github.com>

Richard Thomson

unread,
Oct 19, 2022, 5:55:41 PM10/19/22
to GrandComicsDatabase/gcd-django, Subscribed

I guess this is sort-of explained in the description for date searching at the bottom of the page, but an inclusive interval makes more sense to most people, e.g. searching for dates starting at 1999-12-31 to begin the search at 2000-01-01 seems weird.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <GrandComicsDatabase/gcd-django/issues/564/1284614356@github.com>

JochenGCD

unread,
Oct 21, 2022, 5:21:51 PM10/21/22
to GrandComicsDatabase/gcd-django, Subscribed

Richard Thomson

unread,
Oct 22, 2022, 4:21:50 PM10/22/22
to GrandComicsDatabase/gcd-django, Subscribed

I've since migrated the issues from January 2000 so they're not showing up in the search anymore.... Let me create another example


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <GrandComicsDatabase/gcd-django/issues/564/1287904548@github.com>

Richard Thomson

unread,
Oct 22, 2022, 4:26:38 PM10/22/22
to GrandComicsDatabase/gcd-django, Subscribed

OK, I found another January in the search results, this time for 2005. I'll stop migrating these so the search results remain stable :). I added screen shots of what I see in the results for these two searches.

Dark Horse text/promo Horsepower - Dec 31 2004
image

Dark Horse text/promo Horsepower - Jan 01 2005
image


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <GrandComicsDatabase/gcd-django/issues/564/1287905671@github.com>

JochenGCD

unread,
Oct 22, 2022, 4:32:23 PM10/22/22
to GrandComicsDatabase/gcd-django, Subscribed

now I get it, double of #132


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <GrandComicsDatabase/gcd-django/issues/564/1287906626@github.com>

JochenGCD

unread,
Oct 22, 2022, 4:32:24 PM10/22/22
to GrandComicsDatabase/gcd-django, Subscribed

Closed #564 as completed.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <GrandComicsDatabase/gcd-django/issue/564/issue_event/7646992017@github.com>

Reply all
Reply to author
Forward
0 new messages