cgcel / obsidian-local-backup

Automatically creates a local backup of the vault.
MIT License
48 stars 3 forks source link

feat: add date placeholder logic #11

Closed decaf-dev closed 11 months ago

decaf-dev commented 11 months ago

This update will add #10.

It also makes sure that the default file name used includes date placeholders. The default file name is now {vaultName}-Backup-%Y_%m_%d-%H_%M_%S.zip

decaf-dev commented 11 months ago

What are you using to style your code? It doesn't seem like there was any consistency between single quotes and double quotes.

I downloaded the EditorConfig For VSCode extension from the VSCode extensions store and used the .editorconfig file that came default from Obsidian sample plugin template. I opened the VSCode command palette and did "Format document".

Do you have any preferences between single and double quotes?

decaf-dev commented 11 months ago

I am still fixing an error with the merge conflict

decaf-dev commented 11 months ago

I fixed the error. The code works on my end. I'm open to receive any feedback :)

cgcel commented 11 months ago

Thank you for your job!