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

Add props to change the name of the month[Feature] #56

Closed
ujjalacharya opened this issue Mar 7, 2023 · 3 comments
Closed

Add props to change the name of the month[Feature] #56

ujjalacharya opened this issue Mar 7, 2023 · 3 comments

Comments

@ujjalacharya
Copy link

Problem

I faced the problem when I was dealing with my german client and they wanted the feature where instead of showing January, February, it should be Januar, Februar, März so on. Although I could change the title of the week, not the month

Solution

A similar prop like titleOfWeek, there should be titleOfMonth and we can pass the array

Community Benefits

People who have different name of their month will be able to use this package as well

@samsam-ahmadi
Copy link
Owner

samsam-ahmadi commented Apr 18, 2023

@ujjalacharya Sorry, I don't know why I see your issue now, I will look at this. Thanks

@samsam-ahmadi
Copy link
Owner

@ujjalacharya Hello, Sorry if it's too late, I had busy days,
I found a solution for it. It will solve for all locales.

samsam-ahmadi pushed a commit that referenced this issue May 31, 2023
@samsam-ahmadi
Copy link
Owner

@ujjalacharya
Hi, It's available in this version: V1.13.0
Also you can check it here :
https://killthejs.com/react-trip-date/?path=/story/datepicker-api--page#locale

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

No branches or pull requests

2 participants