Commit Graph

2 Commits (d992ec24707848a965ea8e69c517ec0d1fdb6b92)

Author SHA1 Message Date
ClaraCrazy d992ec2470
Implement convertUp helper function 2024-10-03 07:25:20 +02:00
ClaraCrazy 71fd513bc0
Refactor email purge time configuration and usage to be more precise.
- New purgeTIme now allows to configure a purge to be every X minutes, hours or days.
- Also remove a bit more trust by pulling footer deletion time from config.
- TODO: implement 'convertUp' function, converting numbers up to the biggest possible value where `i > 2 (so 48hrs still works as per slogan and domain)`. I.e. 72hrs = 3 days, 360minutes = 6hrs, 1440minutes to 24hrs

Co-authored-by: Johannes Bülow <kontakt@jmbit.de>
2024-10-03 01:22:10 +02:00