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

[date-picker] When setting minAsDate to current date, the minimum date can be tomorrow #7890

Open
2 of 4 tasks
mpayson opened this issue Sep 27, 2023 · 1 comment
Open
2 of 4 tasks
Labels
0 - new New issues that need assignment. ArcGIS Online Issues logged by ArcGIS Online team members. bug Bug reports for broken functionality. Issues should include a reproduction of the bug. calcite-components Issues specific to the @esri/calcite-components package. impact - p3 - not time sensitive User set priority impact status of p3 - not time sensitive needs milestone Planning workflow - pending milestone assignment, has priority and/or estimate. p - low Issue is non core or affecting less that 10% of people using the library spike Issues that need quick investigations for time estimations, prioritization, or a quick assessment.

Comments

@mpayson
Copy link

mpayson commented Sep 27, 2023

Check existing issues

Actual Behavior

When setting minAsDate to the current date, the minimum date displayed to the user is tomorrow

Expected Behavior

When setting minAsDate to the current date, the minimum date displayed to the user is today

Reproduction Sample

https://codepen.io/mpayson/pen/MWZGmeX

Reproduction Steps

  1. Open the code pen
  2. Open the date picker, see the minimum date is tomorrow

Reproduction Version

1.8.0

Relevant Info

See screenshot below. Note, maybe this is the expected behaivor, and apps should accommodate?

Screenshot 2023-09-26 at 9 06 00 PM

Regression?

No response

Priority impact

p4 - not time sensitive

Impact

No response

Calcite package

  • @esri/calcite-components
  • @esri/calcite-components-react
  • @esri/eslint-plugin-calcite-components

Esri team

ArcGIS Online

@mpayson mpayson added 0 - new New issues that need assignment. bug Bug reports for broken functionality. Issues should include a reproduction of the bug. needs triage Planning workflow - pending design/dev review. labels Sep 27, 2023
@github-actions github-actions bot added ArcGIS Online Issues logged by ArcGIS Online team members. impact - p3 - not time sensitive User set priority impact status of p3 - not time sensitive calcite-components Issues specific to the @esri/calcite-components package. labels Sep 27, 2023
@geospatialem geospatialem added p - low Issue is non core or affecting less that 10% of people using the library spike Issues that need quick investigations for time estimations, prioritization, or a quick assessment. labels Nov 1, 2023
@geospatialem
Copy link
Member

Spike will be performed to confirm the behavior when passing the date - is this the expected pattern?

@geospatialem geospatialem removed the needs triage Planning workflow - pending design/dev review. label Nov 1, 2023
@geospatialem geospatialem added the needs milestone Planning workflow - pending milestone assignment, has priority and/or estimate. label Jun 3, 2024
@geospatialem geospatialem removed this from the 2024-06-25 - Jun Release milestone Jun 3, 2024
@geospatialem geospatialem added this to the 2025-03-25 - Mar Release milestone Sep 10, 2024
@geospatialem geospatialem removed the needs milestone Planning workflow - pending milestone assignment, has priority and/or estimate. label Sep 10, 2024
@geospatialem geospatialem added the needs milestone Planning workflow - pending milestone assignment, has priority and/or estimate. label Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0 - new New issues that need assignment. ArcGIS Online Issues logged by ArcGIS Online team members. bug Bug reports for broken functionality. Issues should include a reproduction of the bug. calcite-components Issues specific to the @esri/calcite-components package. impact - p3 - not time sensitive User set priority impact status of p3 - not time sensitive needs milestone Planning workflow - pending milestone assignment, has priority and/or estimate. p - low Issue is non core or affecting less that 10% of people using the library spike Issues that need quick investigations for time estimations, prioritization, or a quick assessment.
Projects
None yet
Development

No branches or pull requests

4 participants