Skip to content

How to customize the time widget? #458

Answered by tintou
cshaa asked this question in Q&A
Discussion options

You must be logged in to vote

I'm sorry but we don't and won't support this level of customization.

The code you're looking for is at https://github.com/elementary/wingpanel-indicator-datetime/blob/master/src/Widgets/PanelLabel.vala#L60 also note that:

  • GLib.DateTime has no way to rendering into decimal time
  • We're updating the label every minute or second only which won't match your custom format.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by danirabbit
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
Status: Out of Scope Not solvable within the scope of this code base
2 participants
Converted from issue

This discussion was converted from issue #457 on May 18, 2022 04:53.