[Bug]: Depreciations term and Warranty wrong when German (Informal) is set
Snipe-IT Version
v8.3.5 - Build 20406 (master)
PHP Version
8.3.6
Composer Version
2.9.2
MySQL/MariaDB version
15.1
How did you install Snipe-IT?
Git install
Is this a fresh install or an upgrade?
Fresh install
What happened?
When language is set to German (Informal) depreciation term's are always displayed as 1 month. The calculation showed on the asset details page is also wrong. When i set the profile language to Englisch (USA) or German the depreciation term's are displayed correctly and the calculation on the asset details page is also correct
.
What browsers are you seeing the problem on?
Firefox, Chrome
Can you reproduce this on the public demo?
N/A
Do you have full multiple company support enabled?
No
If you have full multiple company support enabled, do you have location scoping to company enabled?
I do not have full multiple company support enabled
Application log output
Browser console output
Common Issues
- [x] I have searched this repo for existing issues related to my issue (including closed issues)
- [x] My APP_URL is set correctly in my .env file (including http or https and no trailing slash)
- [x] I have searched the official Snipe-IT documentation and have checked the Common Issues documentation (where applicable)
- [x] I have run database migrations (where applicable).
- [x] I have attached screenshots and/or videos of the issue (where applicable)
Code of Conduct
- [x] I agree to follow this project's Code of Conduct
I've realized that next to the Depreciations term also the warranty (in month) is displayed wrong on the asset page - even it is set correctly when you edit the asset. That all happens only if German (informal) is set as language.
@bzeus please confirm
Checking
Confirmed! Shows "1 Monat" under Asset detail page and Depreciation page ONLY in German (Informal), instead of the correct number of months it shows in regular German and in English