MarcinOrlowski / html-clock-plasmoid

Configurable and lightweight clock widget for KDE. Stylable with QT supported subset of HTML markup, supporting variety of usable placeholders to design clock widget as you like.
67 stars 6 forks source link

For some locales {DD} returns more than documented 3 characters #19

Open MarcinOrlowski opened 3 years ago

MarcinOrlowski commented 3 years ago

For some locales (i.e. pl_PL) the abbreviated day name placeholder returns more than 3 chars because it is apparently not a rule to have up to 3 chars for abbreviated name. So {DD} returns MON.. We need to have {DD} returning up to 3 chars plus separate placeholder for locale based abbreviated name, or ability to trim strings to given number of characters

MarcinOrlowski commented 3 years ago

After a thought, we need generic modifiers to truncate values to any length