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

feat: add --monday-first arg #2

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

feat: add --monday-first arg #2

wants to merge 1 commit into from

Conversation

zed
Copy link

@zed zed commented May 28, 2022

No description provided.

@aaossa
Copy link
Owner

aaossa commented May 29, 2022

This one is a beautiful feature. My only comment is that it looks a bit weird to display "Mon", "Wed", and "Fri" when Monday is the first day (the last two rows do not display their corresponding days, see the figure). If the flag is enabled, maybe it should display "Tue", "Thu", and "Sat"... but I think that I don't really have a strong opinion on this. Any ideas?

Also, I just noticed that if the flag is enabled, the key variable in the last loop does need a + 1 to adjust the alignment of the displayed days. This fix might break if it's Sunday, because the script might create a new column when is not really needed (hard to test btw...)

image
(This one was patched using the + 1 fixup)

@aaossa aaossa added enhancement New feature or request waiting for input Somebody has to validate if this works labels May 30, 2022
@aaossa aaossa marked this pull request as draft June 28, 2022 22:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request waiting for input Somebody has to validate if this works
Projects
Status: Eyeing
Development

Successfully merging this pull request may close these issues.

2 participants