Skip to content

Commit

Permalink
Add 3 and 6 months and 2 years periods for (sitemap) charts
Browse files Browse the repository at this point in the history
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
  • Loading branch information
lolodomo committed Nov 4, 2023
1 parent 26283da commit f773573
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,9 @@ public class ChartServlet extends HttpServlet {
entry("D", Duration.ofDays(1)), entry("2D", Duration.ofDays(2)), //
entry("3D", Duration.ofDays(3)), entry("W", Duration.ofDays(7)), //
entry("2W", Duration.ofDays(14)), entry("M", Duration.ofDays(30)), //
entry("2M", Duration.ofDays(60)), entry("4M", Duration.ofDays(120)), //
entry("Y", Duration.ofDays(365))//
entry("2M", Duration.ofDays(60)), entry("3M", Duration.ofDays(91)), //
entry("4M", Duration.ofDays(121)), entry("6M", Duration.ofDays(182)), //
entry("Y", Duration.ofDays(365)), entry("2Y", Duration.ofDays(730))//
);

protected static final Map<String, ChartProvider> CHART_PROVIDERS = new ConcurrentHashMap<>();
Expand Down

0 comments on commit f773573

Please sign in to comment.