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

Datepicker date appears in US number format on selection #1306

Open
NatMaeTan opened this issue Jul 8, 2022 · 2 comments
Open

Datepicker date appears in US number format on selection #1306

NatMaeTan opened this issue Jul 8, 2022 · 2 comments
Labels
bug Something isn't working UI fix

Comments

@NatMaeTan
Copy link

Describe the bug
Datepickers in checkers show dates as dd mmm yyyy, but when changing the date it changes to the yyyy-mm-dd format (i.e. 13 Jul 2022 on preview but 2022-07-13 on selection)

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'https://www.checkfirst.gov.sg/c/bb2a6e22-99d3-40a0-a6b0-74718a6c1ada'
  2. Click on 'date picker'
  3. Select any date
  4. See wrong date format
  5. Click on date picker icon again, format changes to correct format

Expected behavior
Date should always stay in DD MMM YYYY format, where MMM is in letters, i.e. 11 Jan 2022

Video
https://user-images.githubusercontent.com/63220614/177967168-c78b6de3-ea70-4968-a7eb-d67bed45834c.mov

@NatMaeTan NatMaeTan added UI fix bug Something isn't working labels Jul 8, 2022
@chasingtherain
Copy link

Hi @NatMaeTan

Is this issue still available? If so, I would like to contribute to this issue.

@LoneRifle
Copy link
Contributor

@chasingtherain - sure! CheckFirst isn't in active development now, but we'll be happy to review a PR you send in.

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

No branches or pull requests

3 participants