Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#1315. Add option to display week number on calendar #1492

Merged
merged 5 commits into from
Apr 15, 2022
Merged

#1315. Add option to display week number on calendar #1492

merged 5 commits into from
Apr 15, 2022

Conversation

LukashonakV
Copy link
Contributor

Config example:
"clock": { // "timezone": "America/New_York", "format": " {:%b %d %Y (%R)}", "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>", "format-alt": "{:%Y-%m-%d}", "today-format": "<span color='#ff6699'><b><u>{}</u></b></span>", "week-pos": "left", "week-format": "<span color='#99ffdd'><b>{}</b></span>", "interval": 10 }
Screenshots:
ps_2022-03-24-15_33_55
ps_2022-03-24-15_34_54

@LukashonakV LukashonakV changed the title https://github.com/Alexays/Waybar/issues/1315. Option to display week… #1315. Add option to display week number on calendar Mar 24, 2022
Copy link
Contributor Author

@LukashonakV LukashonakV left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prints weeknum on the left side for the first row

@LukashonakV
Copy link
Contributor Author

LukashonakV commented Mar 26, 2022

  • calendar day-of-week header is misaligned in Chinese #1321
    Added custom user formats for the: calendar, calendar week numbers, calendar week days
    Config example: "clock": { // "timezone": "America/New_York", "format": " {:%b %d %Y (%R)}", "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>", "format-alt": "{:%Y-%m-%d}", "today-format": "<span color='#ff6699'><b><u>{}</u></b></span>", "calendar-weeks-pos": "left", "format-calendar": "<span color='#ecc6d9'><b>{}</b></span>", "format-calendar-weeks": "<span color='#99ffdd'><b>{}</b></span>", "format-calendar-weekdays": "<span color='#ffcc66'><b>{}</b></span>", "interval": 10 },
    Screenshots:
    ps_2022-03-26-23_37_28

@LukashonakV LukashonakV reopened this Apr 10, 2022
@Alexays
Copy link
Owner

Alexays commented Apr 15, 2022

LGTM thx!

@Alexays Alexays merged commit 73cd156 into Alexays:master Apr 15, 2022
@tmpm697
Copy link

tmpm697 commented May 8, 2022

Can we use different LC_TIME for it (when display {calendar})? As the language to display will depends on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants