I don't understand how work java SimpleDateFormat. I want to show date and time by Locale.
For example
Locale.setDefault(Locale.FRANCE);
DateFormat correctDateFormatter =SimpleDateFormat.getTimeInstance(SimpleDateFormat.SHORT, Locale.getDefault());
correctDateFormatter.format(date);
So I wait to output in 24-h format like
23:00
but I get it like
11 PM
How I can show time and date depends on the Local and do no not use time pattern("hh:mm" and so on)?