Enterprise: Datepicker: Hr-hr (Croatian) doesn't work with datepicker

Created on 18 Mar 2021  Â·  7Comments  Â·  Source: infor-design/enterprise

Describe the bug
When a date and time is selected in the datepicker in Croatian the error icon appear. We are also seing a console error in Homepages.

To Reproduce

Steps to reproduce the behavior:

  1. Go to https://design.infor.com/code/ids-enterprise/latest/demo/components/datepicker/example-timeformat.html?locale=hr-HR
  2. Click on 'the first datepicker
    3.Click on a date
  3. See error

Expected behavior
The date and time should be added in the input field without any issue.

Version

  • ids-enterprise: 4.37.2

Screenshots
image

Platform

  • Infor Application/Team Name: Homepages
  • OS Version: Windows 10
  • Browser Name: Chrome
  • Browser Version: Version 89.0.4389.90 (Official Build) (64-bit)

Additional context
Add any other context about the problem here.

[2] homepages type

Most helpful comment

I only have Wikipedia as my source and noticed that the image in the QA comment was not using dots and was different from the first image of the issue. But it looks good when I use the correct link!

All 7 comments

This issue is now resolved. moving ticket to Done. Thanks
v4.51.0-dev
https://main-enterprise.demo.design.infor.com/components/datepicker/example-timeformat.html?locale=hr-HR
image

Although, there it looks like it is not using Croatian locale? Aren't they using d.M.yyyy in Croatia?

We changed master to main so the new link is https://main-enterprise.demo.design.infor.com/components/datepicker/example-index.html?locale=hr-HR

these are what we had in the CLDR for this https://github.com/infor-design/enterprise/blob/main/src/components/locale/cultures/hr-HR.js#L16 but happy to update it based on feedback from a native speaker

Ah, now it works much better!
Thank Tim!

I only have Wikipedia as my source and noticed that the image in the QA comment was not using dots and was different from the first image of the issue. But it looks good when I use the correct link!

oh yeah, thanks for catching that @SofiK . comment is updated with correct link and screenshot for reference ☺

Was this page helpful?
0 / 5 - 0 ratings