Bug 510427

Summary: Elisa strips month and day from date info
Product: [Applications] Elisa Reporter: Syiad <syiad.al-duri>
Component: generalAssignee: Matthieu Gallien <matthieu_gallien>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 25.04.3   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Syiad 2025-10-09 14:51:53 UTC
SUMMARY
Elisa strips the month and day info from the DATE field when saving flac file metadata.

STEPS TO REPRODUCE
1. Select "Show details" --> "Change" for a flac file that has a release date entry in the ISO 8601 format (yyyy-mm-dd) in its metadata.
2. Change the rating for the file (Changing the rating directly still doesn't work, so it has to go via changing the details).
3. Click "Apply"

OBSERVED RESULT
The rating is applied and the DATE entry is changed to <yyyy>.

EXPECTED RESULT
The rating is applied and the DATE entry stays as <yyyy-mm-dd>.

SOFTWARE/OS VERSIONS

Operating System: Kubuntu 25.04
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.8.3

ADDITIONAL INFORMATION
The problem seems to be that Elisa is not properly reading the date tag from the flac metadata. It already displays it as <yyyy>, even before making any changes, although it has been saved as <yyyy-mm-dd> using kid3.
To make things worse: Specifying a DATE entry in the <yyyy-mm-dd> format in Elisa results in the value "0" being written in into the field.