mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-10 08:38:32 +02:00
Tags are case-insensitive now
This commit is contained in:
parent
b0a017dec4
commit
2bae454727
1 changed files with 1 additions and 1 deletions
2
jrnl.py
2
jrnl.py
|
@ -200,7 +200,7 @@ class Journal:
|
||||||
|
|
||||||
If strict is True, all tags must be present in an entry. If false, the
|
If strict is True, all tags must be present in an entry. If false, the
|
||||||
entry is kept if any tag is present."""
|
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)
|
end_date = self.parse_date(end_date)
|
||||||
start_date = self.parse_date(start_date)
|
start_date = self.parse_date(start_date)
|
||||||
# If strict mode is on, all tags have to be present in entry
|
# If strict mode is on, all tags have to be present in entry
|
||||||
|
|
Loading…
Add table
Reference in a new issue