message: date calculator had an issue with year changes, using elasticsearch internal calculator now
diff: @@ -293,14 +293,7 @@ const getEnvironmentHitsMonthByEnvironmentId = async (
  { openshiftProjectName },
  args,
  ) => {
  - const interested_month = args.month ? new Date(args.month) : new Date();
  - const now = new Date();
  - const interested_month_relative =
  - interested_month.getMonth() - now.getMonth();
  - // Elasticsearch needs relative numbers with + or - in front. The - already exists, so we add the + if it's a positive number.
  - const interested_month_relative_plus_sign =
  - (interested_month_relative < 0 ? '' : '+') + interested_month_relative;
  -
  + const interested_date = args.month ? new Date(args.month) : new Date();
  try {
  const result = await esClient.count({
  index: `router-logs-${openshiftProjectName}-*`,
  @@ -311,8 +304,8 @@ const getEnvironmentHitsMonthByEnvironmentId = async (
  {
  range: {
  '@timestamp': {
  - gte: `now${interested_month_relative_plus_sign}M/M`,
  - lte: `now${interested_month_relative_plus_sign}M/M`,
  + gte: `${interested_date.getFullYear()}-${interested_date.getMonth()}||/M`,
  + lte: `${interested_date.getFullYear()}-${interested_date.getMonth()}||/M`,
  },
  },
  },
  