From 428800b856b2b239f108f030fc5b567b530a69d1 Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Wed, 25 Mar 2020 02:50:10 +0100 Subject: [PATCH] Fixed hour format in display. --- src/org/april/agirstatool/core/AgirStatoolUtils.java | 2 +- src/org/april/agirstatool/core/pages/ProjectPage.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/org/april/agirstatool/core/AgirStatoolUtils.java b/src/org/april/agirstatool/core/AgirStatoolUtils.java index 45f8414..553690a 100644 --- a/src/org/april/agirstatool/core/AgirStatoolUtils.java +++ b/src/org/april/agirstatool/core/AgirStatoolUtils.java @@ -45,7 +45,7 @@ public class AgirStatoolUtils private static Logger logger = LoggerFactory.getLogger(ProjectPage.class); public static final DateTimeFormatter PATTERN_SHORTDATE = DateTimeFormatter.ofPattern("dd/MM/yyyy", Locale.FRANCE); - public static final DateTimeFormatter PATTERN_LONGDATE = DateTimeFormatter.ofPattern("dd/MM/yyyy hh':'mm", Locale.FRANCE); + public static final DateTimeFormatter PATTERN_LONGDATE = DateTimeFormatter.ofPattern("dd/MM/yyyy HH':'mm", Locale.FRANCE); public static StringList buildWeekDuration(final Project project, final LocalDate start, final LocalDate end) { diff --git a/src/org/april/agirstatool/core/pages/ProjectPage.java b/src/org/april/agirstatool/core/pages/ProjectPage.java index a26f0f4..fa6129f 100644 --- a/src/org/april/agirstatool/core/pages/ProjectPage.java +++ b/src/org/april/agirstatool/core/pages/ProjectPage.java @@ -74,7 +74,7 @@ public class ProjectPage } data.setContent("versionsup", BuildInformation.instance().version()); - data.setContent("lastUpdateDate", LocalDateTime.now().format(DateTimeFormatter.ofPattern("dd/MM/yyyy hh':'mm", Locale.FRANCE))); + data.setContent("lastUpdateDate", LocalDateTime.now().format(DateTimeFormatter.ofPattern("dd/MM/yyyy HH':'mm", Locale.FRANCE))); data.setContent("createClosePreviousYearButton", LocalDate.now().getYear() - 1); data.setContent("createdClosed3MonthsChart", CreatedClosedCountChartView.buildLastMonths("Created/closed 3 months Count", project, 3));