Tags are case-insensitive now

This commit is contained in:
Manuel Ebert 2012-04-17 12:37:34 +02:00
parent b0a017dec4
commit 2bae454727

View file

@ -200,7 +200,7 @@ class Journal:
If strict is True, all tags must be present in an entry. If false, the
entry is kept if any tag is present."""
search_tags = set(tags)
search_tags = set([tag.lower() for tag in tags])
end_date = self.parse_date(end_date)
start_date = self.parse_date(start_date)
# If strict mode is on, all tags have to be present in entry