Browse Source

Fixed hour format in display.

master
Christian P. MOMON 1 year ago
parent
commit
428800b856
  1. 2
      src/org/april/agirstatool/core/AgirStatoolUtils.java
  2. 2
      src/org/april/agirstatool/core/pages/ProjectPage.java

2
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)
{

2
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));

Loading…
Cancel
Save