mirror of
https://github.com/PikaMug/Quests.git
synced 2025-03-09 21:29:28 +01:00
Use the 24-hour format for Planner prompt to match
This commit is contained in:
parent
c4aba8cc4f
commit
e2c6ddab46
@ -370,7 +370,7 @@ public class PlannerPrompt extends QuestsEditorNumericPrompt {
|
||||
private String getPrettyDate(final String formattedDate) {
|
||||
final Calendar cal = Calendar.getInstance();
|
||||
final SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy/dd/MM");
|
||||
final SimpleDateFormat timeFormat = new SimpleDateFormat("hh:mm:ss");
|
||||
final SimpleDateFormat timeFormat = new SimpleDateFormat("HH:mm:ss");
|
||||
final String[] date = formattedDate.split(":");
|
||||
final int day = Integer.valueOf(date[0]);
|
||||
final int month = Integer.valueOf(date[1]);
|
||||
|
Loading…
Reference in New Issue
Block a user