Adjust Google Calendar training plan by one day
April 9, 2013 10:00 AM Subscribe
I have a Google Calendar with one of Hal Higdon's half marathon training schedules, and I'm a day off. I've been a day off for weeks. I'd like to adjust the calendar rather than my life. How can I adjust the events by one day all at once? I am happy to import or export, etc as necessary. It's such a small thing but it's driving me crazy.
Response by poster: No, because they are separate events, not a recurring event. Run 5 mi is followed by Rest is followed by 40 minutes cross train.
posted by chesty_a_arthur at 10:13 AM on April 9, 2013
posted by chesty_a_arthur at 10:13 AM on April 9, 2013
If you're able to do some light coding, you totally accomplish that with Google Apps Script. I would export a copy of the calendar first in case you mess something up. Then, go into Google Drive and choose Create > Script.
You'd want to look at the script reference for calendar events. Basically, you would need to indicate what calendar you are looking at - if it's your default calendar, you would useCalendarApp.getDefaultCalendar(). Then using getEvents, pull all events within a date range. This will return an array of events which you can loop through and either setTime (for short term events) or set all day date (for all-day events).
posted by beyond_pink at 10:31 AM on April 9, 2013 [3 favorites]
You'd want to look at the script reference for calendar events. Basically, you would need to indicate what calendar you are looking at - if it's your default calendar, you would useCalendarApp.getDefaultCalendar(). Then using getEvents, pull all events within a date range. This will return an array of events which you can loop through and either setTime (for short term events) or set all day date (for all-day events).
posted by beyond_pink at 10:31 AM on April 9, 2013 [3 favorites]
This thread is closed to new comments.
posted by decathecting at 10:10 AM on April 9, 2013