Skip to content

fix(datepicker): updated date picker microcopy#6263

Merged
redallen merged 4 commits intopatternfly:mainfrom
evwilkin:fix/6199-datepicker-microcopy
Sep 9, 2021
Merged

fix(datepicker): updated date picker microcopy#6263
redallen merged 4 commits intopatternfly:mainfrom
evwilkin:fix/6199-datepicker-microcopy

Conversation

@evwilkin
Copy link
Member

@evwilkin evwilkin commented Sep 2, 2021

What: Closes #6199

Follow up to #6196

Per discussion with @abigaeljamie, this PR capitalizes the placeholder text for date picker examples and replaces slashes in American format example with dashes (03-05-2020 vs 03/05/2020).

@redallen
Copy link
Contributor

redallen commented Sep 3, 2021

If we want to change the placeholder across the board I think we should change the prop's default in DatePicker.tsx so consumers see the change as well.

Then you'd just have to adjust the toLocaleDateString American format from slashes (what design asked for) to dashes.

@patternfly-build
Copy link
Collaborator

patternfly-build commented Sep 8, 2021

PF4 preview: https://patternfly-react-pr-6263.surge.sh

@redallen redallen merged commit 6975851 into patternfly:main Sep 9, 2021
Copy link
Collaborator

@abigaeljamie abigaeljamie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! Looks great :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DatePicker - confirm correct microcopy & date format

5 participants