Comments (4)
Thanks for the report!
Fixed in the latest release
from flatpickr.
I'm still having trouble with this. If I set a value on my input element, time picker shows an error since it's not able to parse the time string (passing just a time to initialize Date). If I set defaultDate to the full date string, hour and minute fields are empty. If I pass in a Date object, it sets the hour and minute, but the hour is in 24 hour format regardless of my format settings.
If I use a date and time picker and set defaultDate, the formatting is completely thrown off similar to the way it's currently broken on the flatpickr docs page under preload date and time. https://chmln.github.io/flatpickr/#timepicker
from flatpickr.
Somehow that slipped through.
Fix coming soon, and unit tests on the weekend.
stay tuned
from flatpickr.
Nice, thanks.
from flatpickr.
Related Issues (20)
- Month Year Texbox HOT 1
- With allowInput=true, changes on time input are lost when clicking outside HOT 1
- Want to add year dropdown in calendar
- Add solar date
- Add option for different range format and/or token for rangeSeparator
- Disable TimeRange for a specific date
- Make "_positionCalendar" public to handle page scroll
- rangePlugin causes an error when onChange contains react setState call
- Flatpickr time limit selection on elementor form
- React Native Expo Metro does not work with single css line, works otherwise
- `_flastpickr` property on element not yet available on `onReady`
- Calling flatpickr() twice, reinitializes flatpickr
- Missing RM Romansh(Swiss) localization
- Edit hour and minute in a MODAL HOT 4
- Maintained? HOT 5
- Calling .open(); in iOS Safari immediately closes everything
- parseDate does not throw error for invalid dates when allowInput HOT 1
- Auto-Focus minutes after inserted hours
- Turn off auto close?
- Feature Request: When using altFormat, internally also copy the "style" attribute contents to created element
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flatpickr.