linuxmint / cinnamon

A Linux desktop featuring a traditional layout, built from modern technology and introducing brand new innovative features.
GNU General Public License v2.0
4.57k stars 745 forks source link

Panel calendar tooltip fails to render %U or %W #12505

Open ToboterXP opened 1 week ago

ToboterXP commented 1 week ago

Distribution

Mint 22 Cinnamon

Package version

6.2.9

Graphics hardware in use

AMD RX Radeon 7600 XT

Frequency

Always

Bug description

When I add %U or %W to the "date format for tooltip" setting in the Panel Calendar widget configuration, it fails to display anything. If I add either to the the normal date format, it will display "\~CLOCK FORMAT ERROR\~". According to the website linked below, these should display the week of the year.

Steps to reproduce

Add %U or %W anywhere in the named settings (Right click->Configure on the calendar widget in the panel)

Expected behavior

It should presumably display the week of the year (starting with either Sunday or Monday) in the given strings

Additional information

No response

mtwebster commented 1 week ago

Unfortunately the implementation we're using to parse date/time formats does not currently support those specifiers.

https://docs.gtk.org/glib/method.DateTime.format.html

It does show that %V may be useful (I'm not sure what day of the week it would measure from, but it may determine that automatically based on other region settings).

ToboterXP commented 1 week ago

I think you should change what website the info button in that menu points to then, because it describes those operators as possible.

Am 17. November 2024 17:07:55 MEZ schrieb Michael Webster @.***>:

Unfortunately the implementation we're using to parse date/time formats does not currently support those specifiers.

https://docs.gtk.org/glib/method.DateTime.format.html

It does show that %V may be useful (I'm not sure what day of the week it would measure from, but it may determine that automatically based on other region settings).

-- Reply to this email directly or view it on GitHub: https://github.com/linuxmint/cinnamon/issues/12505#issuecomment-2481334515 You are receiving this because you authored the thread.

Message ID: @.***> -- Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.