Bug 357038 - Add this date style: lun. 21 déc. 21:50
Summary: Add this date style: lun. 21 déc. 21:50
Status: RESOLVED UPSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: Digital Clock (show other bugs)
Version: master
Platform: Kubuntu Linux
: NOR normal
Target Milestone: 1.0
Assignee: Martin Klapetek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-22 13:03 UTC by jeremy9856
Modified: 2018-02-25 22:41 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jeremy9856 2015-12-22 13:03:05 UTC
Hello,

It will be great if this date style can be added : lun. 21 déc. 21:50
I know it's PHP but it's something like that (http://php.net/manual/en/function.date.php) :

%D %j %M %H:%i

Thanks


Reproducible: Always
Comment 1 Sudhir Khanger 2015-12-26 06:04:34 UTC
My suggestions are as follows.

* Only use 3 letters for weekday and month.
* Ability to disable year. There is not a whole lot of benefit in showing a number that changes only once a year.

Saturday 26 December 2015 is way too long. There is no much benefit. It would save precious horizontal space if we only show first 3 letters of week day and month.

Thank you.
Comment 2 Martin Klapetek 2015-12-29 20:18:50 UTC
Thanks for the report

This actually all depends on Qt as we use Qt for date
formatting. You can change the format in applet settings
but it is still limited to only those three options.

Those three options are then limited by your Locale
settings (LC_* variables) which Qt parses and returns
the format accordingly. Not much we can do with that.

It would really be great if Qt would allow setting an 
arbitrary global date format in addition to following
the system Locale, that would help us so much.

But, with the things they are now, we are limited by
Qt. Sorry.

(still makes me wonder if one can simply overwrite
some Locale files to a custom configuration...)
Comment 3 jeremy9856 2015-12-30 00:30:11 UTC
> It would really be great if Qt would allow setting an arbitrary global date format in addition to following the system Locale, that would help us so much.

Are you aware of a bug report on Qt about this ?
Comment 4 Martin Klapetek 2016-01-04 18:12:13 UTC
I am not. But there is a QLocale rewrite upcoming which
should allow custom date formats.

So I'd say "wait and see". /Should/ come with Qt 5.8.
Comment 5 jeremy9856 2016-01-04 18:13:12 UTC
OK thank you !
Comment 6 jeremy9856 2016-08-20 20:32:55 UTC
I'm thinking using KDE again but this is still not implemented right ?
Thanks !
Comment 7 jeremy9856 2017-09-01 06:06:40 UTC
Hello,
Do you know if it's implemented in Qt now ?
Comment 8 Christoph Feck 2017-09-19 20:26:27 UTC
Some information is available at https://wiki.qt.io/Locale_Support_in_Qt_5 but currently there is currently no developer who works on this.