dan-lee / timescape

A flexible, headless date and time input library for JavaScript. Provides tools for building fully customizable date and time input fields, with support for libraries like React, Preact, Vue, Svelte and Solid.
https://timescape.daniellehr.de
MIT License
153 stars 2 forks source link

PM is not memorized #26

Closed CodingDive closed 2 months ago

CodingDive commented 3 months ago

Thank you so much for this wonderful package! ❤️

I found a small bug here https://timescape.daniellehr.de/?path=/story/root-timescape--time-with-options

Steps to reproduce

  1. First change the time to PM
  2. Now enter a new hour like 05
  3. Time changes back to AM

I think it should memorize that the user had PM selected and not automatically change it back.

dan-lee commented 3 months ago

Hey @CodingDive! Thank you so much for the bug report! That's definitely incorrect behavior, I'll take a look soon :)

dan-lee commented 2 months ago

Fix has been released in https://github.com/dan-lee/timescape/releases/tag/timescape%400.5.1 🚀