Bug 483879 - Dolphin file groupings does not convert modified time to user's local timezone
Summary: Dolphin file groupings does not convert modified time to user's local timezone
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: view-engine: general (show other bugs)
Version: 24.02.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-03-18 03:11 UTC by FirstAirBender
Modified: 2024-03-18 03:33 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot of dolphin (183.53 KB, image/png)
2024-03-18 03:24 UTC, FirstAirBender
Details
Screenshot of one of the files in the list (34.27 KB, image/png)
2024-03-18 03:26 UTC, FirstAirBender
Details

Note You need to log in before you can comment on or make changes to this bug.
Description FirstAirBender 2024-03-18 03:11:50 UTC
SUMMARY
***
I noticed that in the group view, dolphin shows some files as appearing in the group corresponding to the next day. Upon observing the file stat in Dolphin, it appears that the modified time is not taking into account the user's timezone, and is just using UTC time.
***


STEPS TO REPRODUCE
1. Create a file at a time when UTC at your timezone will be in the next day
2. Toggle the View -> Show in Groups, in Dolphin
3. Observe that the file appears to be showing up in the group for the next day

OBSERVED RESULT
File is showing up in the Monday Group

EXPECTED RESULT
File should be showing in the Today (Sunday) group

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: kernel version 6.7.9-arch1-1
(available in About System)
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION
Comment 1 FirstAirBender 2024-03-18 03:24:16 UTC
Created attachment 167395 [details]
Screenshot of dolphin

This shows the extra group near the top. Notice the current date and time on the right side says it's currently Sunday, while the file grouping shows a file for Monday
Comment 2 FirstAirBender 2024-03-18 03:26:56 UTC
Created attachment 167396 [details]
Screenshot of one of the files in the list

Details of a single file from the previous screenshot. Notice how the Modified says Tomorrow at 1:11:02am. I'm not a time traveler, so this is definitely not the case.