Skip to content

Comments

fix(date-picker): avoid clearing epoch timestamp in range#21547

Open
adamalston wants to merge 1 commit intocarbon-design-system:mainfrom
adamalston:19322-end
Open

fix(date-picker): avoid clearing epoch timestamp in range#21547
adamalston wants to merge 1 commit intocarbon-design-system:mainfrom
adamalston:19322-end

Conversation

@adamalston
Copy link
Contributor

Closes #19322

Avoided clearing epoch timestamp in range DatePicker.

Changelog

Changed

  • Avoided clearing epoch timestamp in range DatePicker.

Testing / Reviewing

Run tests.

PR Checklist

As the author of this PR, before marking ready for review, confirm you:

  • Reviewed every line of the diff
  • Updated documentation and storybook examples
  • Wrote passing tests that cover this change
  • Addressed any impact on accessibility (a11y)
  • Tested for cross-browser consistency
  • Validated that this code is ready for review and status checks should pass

More details can be found in the pull request guide

@codecov
Copy link

codecov bot commented Feb 13, 2026

Codecov Report

❌ Patch coverage is 85.71429% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 86.99%. Comparing base (d4de245) to head (e2440a3).

Files with missing lines Patch % Lines
...ges/react/src/components/DatePicker/DatePicker.tsx 85.71% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #21547      +/-   ##
==========================================
- Coverage   87.00%   86.99%   -0.01%     
==========================================
  Files         539      539              
  Lines       43521    43525       +4     
  Branches     6705     6735      +30     
==========================================
  Hits        37866    37866              
- Misses       5489     5494       +5     
+ Partials      166      165       -1     
Flag Coverage Δ
main-packages 86.09% <85.71%> (-0.01%) ⬇️
web-components 87.47% <ø> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@netlify
Copy link

netlify bot commented Feb 14, 2026

Deploy Preview for v11-carbon-web-components ready!

Name Link
🔨 Latest commit e2440a3
🔍 Latest deploy log https://app.netlify.com/projects/v11-carbon-web-components/deploys/698fb8848d348800089ce36e
😎 Deploy Preview https://deploy-preview-21547--v11-carbon-web-components.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Feb 14, 2026

Deploy Preview for v11-carbon-react ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit e2440a3
🔍 Latest deploy log https://app.netlify.com/projects/v11-carbon-react/deploys/698fb88471c8ff0008952c67
😎 Deploy Preview https://deploy-preview-21547--v11-carbon-react.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

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.

[Bug]: DatePickerInput is cleared when its value is set to 0

1 participant