A Pen by Una Kravets on CodePen.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Shifts every event in a given Google Calendar back by exactly one day (24h). | |
| * - Automatically detects the true min/max date range of existing events. | |
| * - Includes a DRY_RUN mode so you can preview changes before applying. | |
| */ | |
| function shiftCalendarEventsBackOneDay_AutoRange() { | |
| /** | |
| * 1. REQUIRED: Replace this with the Calendar ID you want to modify. | |
| * You can find it under Google Calendar → Settings → "Calendar ID" |