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

Inline and locale issue #75

Closed
daanvanrobays opened this issue Dec 20, 2018 · 1 comment
Closed

Inline and locale issue #75

daanvanrobays opened this issue Dec 20, 2018 · 1 comment
Labels
bug Something isn't working

Comments

@daanvanrobays
Copy link

Hi,

When using the DaterangepickerComponent inline and setting the following locale

<ngx-daterangepicker-material [locale]="{format: 'DD/MM/YYYY HH:mm:ss', firstDay: 1}" >
</ngx-daterangepicker-material>

It throws this error

image

It looks like it has overwritten the locale entirely as it is not able to push the daysOfWeek array further since it is 'undefined'

@fetrarij fetrarij added the bug Something isn't working label Dec 21, 2018
@fetrarij
Copy link
Owner

Hello, thank you for the report. Will fix this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants