-
Notifications
You must be signed in to change notification settings - Fork 23
Closed
Description
key = next((key for key in datetime_keys if f"_{key}-" in name), None)
There was a bug in the (pre-existing) code! It will be true
when searching for date
if there is a datetime
flag. Wrapping in _{key}-
should stop this from happening.
Originally posted by @JoeZiminski in #510 (comment)
There was a bug caught here in the existing codebase that tests did not catch. Review tests to understand why this was missed + add tests for similar cases.
Metadata
Metadata
Assignees
Labels
No labels