Skip to content

Commit 5336412

Browse files
authored
Merge pull request #1 from DenverCoder1/noon
2 parents e99cae4 + 3daf6dd commit 5336412

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
__py_deps__ = ["dateparser"]
3131

3232
timezone_regex = re.compile(
33-
r"(?P<from_time>.*(?:pm|am|\d:\d|time|now|current).*)\s(?:to|in)\s(?P<to_tz>.*)",
33+
r"(?P<from_time>.*(?:pm|am|\d:\d|time|now|current|noon|midnight).*)\s(?:to|in)\s(?P<to_tz>.*)",
3434
re.I,
3535
)
3636

0 commit comments

Comments
 (0)