Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configurable New Filename Format #1901

Open
gary-roach opened this issue Dec 1, 2024 · 0 comments
Open

Configurable New Filename Format #1901

gary-roach opened this issue Dec 1, 2024 · 0 comments

Comments

@gary-roach
Copy link

When filing documents with Fava, the date is prepended to the filename. This is similar to the functionality of beancounts bean-file tool, but the format is not the same.

When using bean-file the file is renamed like this:
Original File Name: My File.csv
New File Name: YYYY-MM-DD.My_File_Name.csv

Fava renames files like this:
Original File Name: My File.csv
New File Name: YYYY-MM-DD My File Name.csv

I personally prefer the beancount way as I don't like spaces in my filenames. I know Fava lets me rename them manually, but would you be open to the default file rename pattern being configurable? As far as I can tell, it would require changes to frontend/src/reports/import/index.ts and frontend/src/document-upload.ts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant