Closed betson-fernando closed 1 year ago
@betson-fernando I'm not sure if I'm the one you will eventually help you here. But in general, a closed issue doesn't get anyone to even begin to think about a solution. So at lease re-open it and see what the future holds.
Dear, thanks for your help!
Really, I learned a lot about tkcalendar yesterday and today. So, I saw that I was wrong about my issue.
I did try to delete the issue, but I didn't know how to do it. So, the best way that I found was to close it.
I like much to code, and help the development of important things, but inexperience has some weight yet. :)
So, thanks for your answer. Probably in few time I'll be more assertive about Computer Science.
Best regards. Betson
Em dom., 5 de mar. de 2023 07:31, Wolf-SO @.***> escreveu:
@betson-fernando https://github.com/betson-fernando I'm not sure if I'm the one you will eventually help you here. But in general, a closed issue doesn't get anyone to even begin to think about a solution. So at lease re-open it and see what the future holds.
— Reply to this email directly, view it on GitHub https://github.com/j4321/tkcalendar/issues/102#issuecomment-1455050892, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANWPWEZWVYDU3SQ575KBM7DW2RTQBANCNFSM6AAAAAAVQBJC6E . You are receiving this because you were mentioned.Message ID: @.***>
I'm using tkcalendar, and my (cutted) code is as follow:
But, despite date_pattern="dd/mm/yyyy", cal.selectionget() returns date in format yyyy-mm-dd. Looking the source, I found [that](https://github.com/j4321/tkcalendar/blob/0c6aa7cb4ee1e583bdf0faec62f99f760f192895/tkcalendar/calendar.py#L265-L288):
At this snippet, if _textvariable is None, so self._sel_date = self.date(year, month, day) (here)
My suggestion is call function format_date at line above, as that:
I'm new in coding universe, so I'm learning to use github. Because that, I fear to make any code changes in a wrong way, justifying only this issue raising. If someone wants help me about effectively change this code to return the correct pattern, I'll be grateful.