kendo-angular icon indicating copy to clipboard operation
kendo-angular copied to clipboard

Millisecond segment is not localized

Open mbechev opened this issue 4 years ago • 1 comments

Describe the bug The millisecond segment is not localized - undefined is rendered instead:

image

Used format MM/dd/yyyy HH:mm:ss:SS

To Reproduce https://stackblitz.com/edit/angular-gcwrkw?file=app%2Fapp.component.ts

When there is no loaded locale the millisecond text is shown as expected: https://stackblitz.com/edit/angular-evt3k8?file=app/app.component.ts

After some investigation, we noticed that in kendo-angular-intl package, there is no dedicated object for milliseconds.

mbechev avatar Mar 17 '22 13:03 mbechev

Further info:

  • Locales are auto-generated in intl/build-locales.js#L122.
  • Translations are available here.

gkarapeev avatar Mar 18 '22 08:03 gkarapeev

This is no longer reproducible with the latest version 14.0.0:

https://stackblitz.com/edit/angular-rb5nrk

svetq avatar Oct 12 '23 06:10 svetq