-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Placeholder for locale not appropriate #2694
Comments
I had the same issue here (I am using daterange component). The ultimate problem is at But at first I believed the problem was on But still I could not see the date correctly formated. Then I went on debugging
I hope my debuging findings helps on understanding the problem and correctly adjusting the code. |
Shouldn't this be fixed with #2630? |
I think the problem is within the bs-datepicker-component on show : this._config is filled with data from bsConfig as far i can see. In my opinion this also should happen on load of the component so any other configs immidiately are used, such as the format. When i add: this._config = Object.assign({}, this._config, this.bsConfig) in the bs-datepicker-component.ts in the ngOnit part it works. But i don't know if this is the right way to do. |
I define
and have always the same content in
this.dateFormat
. I highly assume that this issue is closely related #2622 - seems like not all locales are loaded/set properly.The text was updated successfully, but these errors were encountered: