Add '1 Week' Option to Past Horizon setting

Created on 29 December 2023, about 1 year ago
Updated 1 April 2024, 9 months ago

Problem/Motivation

The Google Calendar module currently allows users to set a "Past horizon" for importing events, which determines how far back in time the module will go to import calendar events. This setting also influences the event cleanup policy. However, the module lacks a crucial time frame option – '1 week'. This limitation restricts users who need to import and manage events on a weekly basis, which is a common scenario for many organizations and individuals using Drupal. By not having a '1 week' option, users may either miss important recent events or have to deal with an excessively large time horizon, impacting the efficiency and relevance of the calendar data.

Steps to reproduce

Navigate the Events Settings page on the module (/admin/config/google_calendar/events). Scroll down to Events Refresh section. Please note that 'Past horizon' field has not the '1 week' option.

Proposed resolution

The proposed resolution is to extend the "Past horizon" field options by adding a '1 week' selection to that form. This addition will provide greater flexibility and usability for the module, catering to users who operate on a weekly event cycle.

Feature request
Status

Fixed

Version

2.5

Component

Code

Created by

🇧🇷Brazil raprieto

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024