-
Notifications
You must be signed in to change notification settings - Fork 298
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
Add a 'fortnightly' frequency for budgets #1939
Labels
Comments
JP-Ellis
added a commit
to JP-Ellis/fava
that referenced
this issue
Feb 4, 2025
In some countries (such as Australia), it is very common for wages to be paid on a fortnightly basis, that is, every 2 weeks. As a result, a number of other expenses are also paid on a fortnightly basis. This commit extends the `Interval` enum by adding a `FORTNIGHT` option. I have added a test for that, and have updated the translations where possible (not that other than for English and French, the other translations may be suboptimal). Resolves: beancount#1939 Signed-off-by: JP-Ellis <[email protected]>
JP-Ellis
added a commit
to JP-Ellis/fava
that referenced
this issue
Feb 4, 2025
In some countries (such as Australia), it is very common for wages to be paid on a fortnightly basis, that is, every 2 weeks. As a result, a number of other expenses are also paid on a fortnightly basis. This commit extends the `Interval` enum by adding a `FORTNIGHT` option. I have added a test for that, and have updated the translations where possible (not that other than for English and French, the other translations may be suboptimal). Resolves: beancount#1939 Signed-off-by: JP-Ellis <[email protected]>
JP-Ellis
added a commit
to JP-Ellis/fava
that referenced
this issue
Feb 4, 2025
In some countries (such as Australia), it is very common for wages to be paid on a fortnightly basis, that is, every 2 weeks. As a result, a number of other expenses are also paid on a fortnightly basis. This commit extends the `Interval` enum by adding a `FORTNIGHT` option. I have added a test for that, and have updated the translations where possible (not that other than for English and French, the other translations may be suboptimal). As part of this commit, I have also taken the opportunity to fix some errors with the use of ISO weeks. In particular, the year corresponding to an ISO week is _not_ always the same as the calendar year of the date. Resolves: beancount#1939 Signed-off-by: JP-Ellis <[email protected]>
JP-Ellis
added a commit
to JP-Ellis/fava
that referenced
this issue
Feb 4, 2025
In some countries (such as Australia), it is very common for wages to be paid on a fortnightly basis, that is, every 2 weeks. As a result, a number of other expenses are also paid on a fortnightly basis. This commit extends the `Interval` enum by adding a `FORTNIGHT` option. I have added a test for that, and have updated the translations where possible (not that other than for English and French, the other translations may be suboptimal). As part of this commit, I have also taken the opportunity to fix a confusion between ISO weeks and calendar weeks as the two do not always match, and `2025-W01` is the ISO format indicating the week starting on December 30 2024. Resolves: beancount#1939 Signed-off-by: JP-Ellis <[email protected]>
JP-Ellis
added a commit
to JP-Ellis/fava
that referenced
this issue
Feb 4, 2025
In some countries (such as Australia), it is very common for wages to be paid on a fortnightly basis, that is, every 2 weeks. As a result, a number of other expenses are also paid on a fortnightly basis. This commit extends the `Interval` enum by adding a `FORTNIGHT` option. I have added a test for that, and have updated the translations where possible (not that other than for English and French, the other translations may be suboptimal). As part of this commit, I have also taken the opportunity to fix a confusion between ISO weeks and calendar weeks as the two do not always match, and `2025-W01` is the ISO format indicating the week starting on December 30 2024. Resolves: beancount#1939 Signed-off-by: JP-Ellis <[email protected]>
JP-Ellis
added a commit
to JP-Ellis/fava
that referenced
this issue
Feb 5, 2025
In some countries (such as Australia), it is very common for wages to be paid on a fortnightly basis, that is, every 2 weeks. As a result, a number of other expenses are also paid on a fortnightly basis. This commit extends the `Interval` enum by adding a `FORTNIGHT` option. I have added a test for that, and have updated the translations where possible (not that other than for English and French, the other translations may be suboptimal). Resolves: beancount#1939 Signed-off-by: JP-Ellis <[email protected]>
JP-Ellis
added a commit
to JP-Ellis/fava
that referenced
this issue
Feb 5, 2025
In some countries (such as Australia), it is very common for wages to be paid on a fortnightly basis, that is, every 2 weeks. As a result, a number of other expenses are also paid on a fortnightly basis. This commit extends the `Interval` enum by adding a `FORTNIGHT` option. I have added a test for that, and have updated the translations where possible (not that other than for English and French, the other translations may be suboptimal). Resolves: beancount#1939 Signed-off-by: JP-Ellis <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
I would love to see a
fortnightly
time interval for use within budgets.Motivation
In Australia, it is quite common to have income and debits charged at a fortnightly (every 2 weeks) frequency. It would be really convenient if the budgets in Fava could support a fortnightly interval:
Alternatives
Currently, I just do the conversion explicitly into a weekly amount, but it isn't quite as nice:
Implementation
I would be happy to help contribute a PR if that is a change that would be welcome.
The text was updated successfully, but these errors were encountered: