akveo / akveo/ngx-admin

Bug with russian locale and nb-rangepicker component

Đang mở
#5,808 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
TypeScript
Star
25.7k
Fork
7.9k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### Issue type

* [x] bug report
* [ ] feature request
* [ ] question about the decisions made in the repository

### Issue description

**Current behavior:**
When add russian locale, nb-rangepicker component doesn't show selected result in input control.

**Expected behavior:**
Input control must have a value after range selection

**Steps to reproduce:**
1. Add russian locale (in app.module.ts)
2. Go to '/pages/forms/datepicker', component 'Datepicker With Range'

**Related code:**

```
// app.module.ts
...
import { NgModule, LOCALE_ID } from '@angular/core';
import { registerLocaleData } from '@angular/common';
import localeRu from '@angular/common/locales/ru';
registerLocaleData(localeRu, 'ru');
...

@NgModule({
...
providers: [
...
{ provide: LOCALE_ID, useValue: 'ru' }
],
bootstrap: [AppComponent]
})
```

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.