Minor updates:

- Updates README.md with redactAs
    - Updates .gitignore to exclude developement files
    - Updates tools.py to reword the horodate prefix from "Downloaded at" to "Event last fetched"
This commit is contained in:
xelast418 2023-09-18 10:29:44 +12:00
parent 4f0f111ed7
commit e5acc4fd1d
No known key found for this signature in database
GPG key ID: 76EE00E7C90D5B64
3 changed files with 8 additions and 5 deletions

2
.gitignore vendored
View file

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

View file

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

View file

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