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

fix(TimePicker): apply includeSeconds when making options #6865

Merged
merged 1 commit into from Feb 7, 2022

Conversation

DaoDaoNoCode
Copy link
Contributor

What: Closes #6837
When making time options for the dropdown menu, the includeSeconds props in not set. Which makes some errors when comparing option 00:00 with the min time 00:00:00 because they are not the same format.
Also, update the doc to prevent some building warnings.

@patternfly-build
Copy link
Contributor

@jpuzz0
Copy link
Contributor

jpuzz0 commented Jan 28, 2022

I see in the description that this is fixing "errors", is the only error not that 00:00 and 12:00 were not being shown as min values in the dropdown?

In any case, this looks to have fixed the reported issue linked.

@DaoDaoNoCode
Copy link
Contributor Author

@jeffpuzzo Calling it an error may not be accurate but I don't know which word is better to be used here. That's the incorrect comparison that could cause the option to be misjudged and not show the option because it's not comparing 00:00:00 with 00:00:00 but comparing 00:00 with 00:00:00.

@tlabaj tlabaj merged commit 5b6d6c9 into patternfly:main Feb 7, 2022
@patternfly-build
Copy link
Contributor

Your changes have been released in:

  • eslint-plugin-patternfly-react@4.31.21
  • @patternfly/react-catalog-view-extension@4.43.21
  • @patternfly/react-charts@6.45.21
  • @patternfly/react-code-editor@4.33.21
  • @patternfly/react-console@4.43.21
  • @patternfly/react-core@4.192.21
  • @patternfly/react-docs@5.53.21
  • @patternfly/react-icons@4.43.21
  • @patternfly/react-inline-edit-extension@4.37.21
  • demo-app-ts@4.152.21
  • @patternfly/react-integration@4.154.21
  • @patternfly/react-log-viewer@4.37.21
  • @patternfly/react-styles@4.42.21
  • @patternfly/react-table@4.61.21
  • @patternfly/react-tokens@4.44.21
  • @patternfly/react-topology@4.39.21
  • @patternfly/react-virtualized-extension@4.39.21
  • transformer-cjs-imports@4.30.21

Thanks for your contribution! 🎉

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.

TimePicker: first time option is missing when seconds are included
6 participants