Time JFXDatePicker
See original GitHub issueHello,
The JFXDatePicker, when chosen with the time option does not correctly parse the selected time. In fact, the following error occurs:
Exception in thread "JavaFX Application Thread" java.time.format.DateTimeParseException: Text '2:17 AM' could not be parsed, unparsed text found at index 4
I have tried it both in my own application and in the demo.
Any suggestions ?
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Time JFXDatePicker · Issue #98 · sshahine/JFoenix - GitHub
Hello,. The JFXDatePicker, when chosen with the time option does not correctly parse the selected time. In fact, the following error occurs:.
Read more >JFXDatePicker (jfoenix 1.9.0 API) - javadoc.io
JFXDatePicker. All Implemented Interfaces: javafx.css. ... public class JFXDatePicker extends javafx.scene.control.DatePicker ... JFXDatePicker(java.time.
Read more >26 Date Picker (Release 8)
The basic package of the Date-Time API is java.time . It provides the following ... LocalDate – a date without a time-zone in...
Read more >css - JFXDatePicker change style of current date
or ask your own question. The Overflow Blog. How to make time for learning in tech. sponsored post.
Read more >com.jfoenix.controls.JFXDatePicker Java Examples
getChildren().add(datePicker); JFXDatePicker datePickerFX = new JFXDatePicker(); ... Creates the earth time bar */ public void createEarthTimeBar() { if ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hello,
This bug exists from months ago. It is triggered when JFoenix is not used with a non English like locale, so the LocalTimeStringConverter crash.
To solve it, you just needs to precise in the LocalTimeStringConverter constructor : Locale.ENGLISH
I don’t know how to make a pull request when it’s not my project, but I’ll try a bit later.
Also that might be cool to internationalize the TimePicker. It looks like this in French, and obviously in Spanish too:
Thanks.
Please someone tell me how to fix it. THX!! I cant edit the constructor becouse i use jfoenix.jar