Enhance timeshift modify #4

Closed
ajasnz wants to merge 10 commits from dev-timeshift into master
3 changed files with 8 additions and 5 deletions
Showing only changes of commit e5acc4fd1d - Show all commits

2
.gitignore vendored
View file

@ -133,6 +133,6 @@ dmypy.json
app/config/calendar.json app/config/calendar.json
/app/cache/ /app/cache/
#development directories # Development directories
/app/config/ /app/config/
.vscode .vscode

View file

@ -59,15 +59,18 @@ The JSON configuration file should look like the following.
}, },
"name":{ "name":{
"addPrefix":"str", "addPrefix":"str",
"addSuffix":"str" "addSuffix":"str",
"redactAs":"str"
}, },
"description":{ "description":{
"addPrefix":"str", "addPrefix":"str",
"addSuffix":"str" "addSuffix":"str",
"redactAs":"str"
}, },
"location":{ "location":{
"addPrefix":"str", "addPrefix":"str",
"addSuffix":"str" "addSuffix":"str",
"redactAs":"str"
} }
} }
} }

View file

@ -422,7 +422,7 @@ def load_cal(entry: dict) -> Calendar:
else: else:
cal = Calendar(imports=r.content.decode()) cal = Calendar(imports=r.content.decode())
cal = horodate(cal, 'Downloaded at') cal = horodate(cal, 'Event last fetched: ')
return cal return cal