-
-
Notifications
You must be signed in to change notification settings - Fork 393
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 date_format and hour_format settings #904
base: main
Are you sure you want to change the base?
Conversation
functions perfectly well on my end. Few comments though, nothing major:
Just thoughts to consider, love the work though! :D I'm very much a YYYY-MM-DD person myself. |
Hi! Thank you so much for your feedback About adding the format string on the side, I would agree, the result is: About the 0 padding, i did not find the solution on the docs: https://docs.python.org/3/library/datetime.html#strftime-and-strptime-format-codes, but searching on google I found that adding a minus sign should do the job. I can add another option as a checkbox, so the selector does not get even bigger And about the dupped entries, it was my fault, the first one was the default option, so I started adding under it. Later I tried to do some iterations and forgot about the default, which was dupped. Thanks for the heads-up! If you think that these changes I mentioned are correct, I will start implementing them Thanks again! |
Hi! |
About the crash, not really sure what's causing it. Did you use your mac to test the previous branch changes? Maybe the settings file has a wrong format stored. As you can see in my newest changes, i think I havent touched anything that it could break, because it was working fine for you previously, right? About the naming of zero-padding, I can change the literal to "Date Zero Padding" or something similar, so it's more clear About the dropdown, i need to understand why it's difficult to read: Is it too much information? It's difficult because your most used options are not the firstly shown? Would you group them by the separators ("/", ".", "-"), instead of d/m, m/d, y-m-d? Having the Year format as the whole year or the last 2 digits is confusing because it's too many options? If you want to discuss this on discord so I can troubleshoot what's causing the crash, let me know Thanks again for your feedback! |
You're right, it seems to be me.. I might have bigger problems on my side. Ignore the Mac error, someone else will need to verify 😓 I think maybe it's abbreviated years mixed in with the full years.. and maybe the preview using the current date is busy, though I get it's purpose maybe it would be better to have a fixed date example rather than the MM/DD AND current day? maybe something with a bit of significance like first commit |
Changed the literal of zero-padding setting and used a constant date to make it clearer by uncluttering the selector options text |
Co-authored-by: Tony <[email protected]>
Summary
Added date_format and hour_format settings to allow customization on how to visualize dates and hours in the preview_panel

Date format selector:
Time format setting:

Tasks Completed