Document multiple task entries piece
This commit is contained in:
parent
367b69da3d
commit
9faa5c44c4
1 changed files with 3 additions and 1 deletions
|
@ -19,8 +19,10 @@ timelog["orig_desc"] = timelog["description"]
|
|||
# Clean up description before we go to work on it.
|
||||
timelog['description'] = timelog['description'].str.strip()
|
||||
|
||||
# Allow multiple entries to be put into one prompt by splitting with semicolon.
|
||||
# TODO make this a flag since it's possible to use semicolons without meaning
|
||||
# to make multiple task entries at once.
|
||||
timelog["description"] = list(timelog["description"].str.split(";"))
|
||||
|
||||
timelog = timelog.explode("description").reset_index()
|
||||
|
||||
timelog["started"] = pd.to_datetime(timelog["started"]).dt.tz_convert("US/Eastern")
|
||||
|
|
Loading…
Reference in a new issue