Helium314 / HeliBoard

Customizable and privacy-conscious open-source keyboard
Apache License 2.0
2.47k stars 97 forks source link

Add datestamp to backup filename #1188

Open e-t-l opened 3 weeks ago

e-t-l commented 3 weeks ago

Please see the appropriate readme section for issue reporting guidelines: https://github.com/Helium314/HeliBoard?tab=readme-ov-file#reporting-issues tl;dr:

Is your feature request related to a problem? Please describe. If multiple backups are made, old ones will be overwritten if new file isn't renamed.

Describe the solution you'd like The filename "Heliboard_backup.zip" should simply include a datestamp so multiple backups can be easily saved. I.e. "Heliboard_backup_20241029.zip" (for a backup file creates on Oct 29th, 2024).

Use case Users may want to backup different Heliboard configurations to easily switch between them, test out a configuration, export it to a different profile/device, etc.

Describe alternatives you've considered (if any) Remembering to manually rename the file to something memorable. Which isn't hard, granted, but this would be a small improvement. Probably easy to implement too; I'll try to submit a PR for it if you like the idea.