linuxmint / linuxmint/cinnamon

Panel calendar tooltip fails to render %U or %W

Open
#12,505 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

BUG
Dominant language
JavaScript
Stars
5.6k
Forks
915
Avg merge
5d 22h
Merged PRs (30d)
3

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named. Start by locating the Panel Calendar widget's handling of the tooltip and normal date-format settings, then reproduce the issue with %U and %W. Done means both formats display the appropriate week-of-year value instead of blank output or CLOCK FORMAT ERROR.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.