KeePassDX
KeePassDX copied to clipboard
Off-by-one when selecting date fields
Describe the bug
When selecting a date for input in a field, the date saved is one less than the date picked in the selector.
To Reproduce
Steps to reproduce the behavior:
- Ensure your timezone is set to UTC-1 or less
- Open database in KeePassDX
- Add entry
- Change template from standard to one that has a date field (ID or credit/debit card)
- Scroll down to a date field.
- Click the date field
- Pick a date
- Observe that the date in field is not the date that was picked
Expected behavior
The date picked with the selector should be the date saved. Might also be an Android bug with the date selector trying to handle full date & times instead of just the date. (i.e. date selector is selecting 2023-12-20T00:00Z for 20 December 2023 which is translated as 19 December 2023 if your timezone is negative offset)
KeePass Database N/A
KeePassDX:
- Version: 4.0.5
- Build: Libre
- Language: English
Android:
- Device: Pixel 6a
- Version: 14
Additional context N/A