bigcommerce / cornerstone

The BigCommerce Cornerstone theme
https://developer.bigcommerce.com/stencil-docs
286 stars 606 forks source link

fix(storefront): BCTHEME-1897 Date Field Modifier - February showing 30th and 31st #2473

Closed bc-vlad-dlogush closed 2 months ago

bc-vlad-dlogush commented 2 months ago

Jira: BCTHEME-1870

What/Why?

This PR fixes an issue with displaying the correct number of days when a specific date is selected

Rollout/Rollback

No Rollout/Rollback

Testing

https://github.com/user-attachments/assets/b496f6de-91b1-4a04-ab53-fe10994b19d4

https://github.com/user-attachments/assets/5b4a901a-1c9e-4fdd-8751-c0aad55008c1