Bug 454841

Summary: Not hard code the order of the day, month and year
Product: [Applications] dolphin Reporter: Eastern Li <EasternLi>
Component: plugins: gitAssignee: Sebastian Dörner <sebastian>
Status: RESOLVED FIXED    
Severity: wishlist CC: kfm-devel, lemmyg
Priority: NOR    
Version First Reported In: 22.04.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Eastern Li 2022-06-04 15:25:40 UTC
When show log, an arg "--date=format:%d-%m-%Y" is hard coded. In different regions, people are used to different orders of the day, month and year. Perhaps we could mark the string as i18n so that it can be localised?

The arg string is in https://invent.kde.org/sdk/dolphin-plugins/-/blob/c01c0ffb8fbd92df2b48c34769a584dbc12d0ea9/git/fileviewgitplugin.cpp#L469
Comment 1 Bug Janitor Service 2024-03-28 12:20:12 UTC
A possibly relevant merge request was started @ https://invent.kde.org/sdk/dolphin-plugins/-/merge_requests/55
Comment 2 Méven Car 2024-03-30 12:54:17 UTC
Git commit ee7cbc1f75df67653c017cb697e28be74064f0dc by Méven Car, on behalf of Alexander Johansen.
Committed on 30/03/2024 at 12:54.
Pushed by meven into branch 'master'.

Use locales date in Git log

This tells Git to use the system locale for its date instead of hard-coding a format.

M  +1    -1    git/fileviewgitplugin.cpp

https://invent.kde.org/sdk/dolphin-plugins/-/commit/ee7cbc1f75df67653c017cb697e28be74064f0dc