Allow en-dashes if surrounded by spaces

This commit is contained in:
benjamin melançon 2025-07-01 12:34:01 -04:00
parent 010118ecaf
commit 58b8fe3158

View file

@ -171,6 +171,7 @@ for preferred, alternatives in compound_project_tasks.items():
# never noticed because i use them so consistently.
timelog['project'] = timelog['project'].str.replace('---', '', regex=False);
timelog['project'] = timelog['project'].str.replace('--', '', regex=False);
timelog['project'] = timelog['project'].str.replace(' ', '', regex=False);
timelog['project'] = timelog['project'].str.replace(' - ', '', regex=False);
# If a compound project was specified, break that out into a sub-project (in
# Harvest, we use Task, which is really task type, for this).