lumada-design / hv-uikit-react

UI library for the Next Design System.
https://lumada-design.github.io/uikit/master
Apache License 2.0
39 stars 21 forks source link

Locale not presented for japanese #4219

Open gobarcanin opened 4 months ago

gobarcanin commented 4 months ago

Which UI Kit version is this bug for?

v5.x

Latest version

No Hitachi confidential content

Current behavior 😯

Date picker is presenting date as DD/MM/YYYY

Expected behavior 🤔

Date picker should present date as YYYY/MM/DD

Steps to reproduce 🕹

Sandbox link:

Steps to reproduce:

  1. Add HvDatePicker to code
  2. Add locale for japan "ja-ja"

Context 🔦

I'm trying to create date picker to represent selected date in proper format

Your Environment 🌎

No response

MEsteves22 commented 3 months ago

Hello 👋

Thanks for reporting this, we'll take a look.

plagoa commented 3 months ago

Hello @gobarcanin can you please provide some more information? Where were you expecting to have the date in the YYYY/MM/DD format? We made some changes that you can see below:

image

In the area highlighted in red the date is presented in the format specified by Design System, in green the changes that were made (not yet available) that allow the user to use a different format other than DD/MM/YYYY.

gobarcanin commented 1 month ago

はい、we were doing some implementation for our client and client expected for date in red to be same as locale. So if we enforce ja-JP it was not visible for date in red. Sorry for long time to reply

gobarcanin commented 2 weeks ago

Sorry, I've completely misinterpreted your reply. Red marked date is expected to be presented as green date