Reorder date format for DateTime prompt to match

This commit is contained in:
PikaMug 2021-02-11 02:06:22 -05:00
parent e2c6ddab46
commit 56887451ad

View File

@ -62,7 +62,7 @@ public class DateTimePrompt extends QuestsEditorNumericPrompt {
return dateData;
}
final Calendar cal = Calendar.getInstance();
final SimpleDateFormat dateFormat = new SimpleDateFormat("dd/MM/yyyy");
final SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy/dd/MM");
final SimpleDateFormat timeFormat = new SimpleDateFormat("HH:mm:ss");
cal.set((Integer) context.getSessionData("tempYear"), (Integer) context.getSessionData("tempMonth"),