Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions gcalendarsync.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ var calendarId = '<your-calendar-id>@group.calendar.google.com';

// Set the beginning and end dates that should be synced. beginDate can be set to Date() to use
// today. The numbers are year, month, date, where month is 0 for Jan through 11 for Dec.
var beginDate = new Date(1970, 0, 1); // Default to Jan 1, 1970
var endDate = new Date(2500, 0, 1); // Default to Jan 1, 2500
// When no time is given, it will be set at 00:00:00
// (optional) Time can be set like new Date(1970, 0, 3, 22, 15) -> Jan 3, 1970, 22:15.
var beginDate = new Date(1970, 0, 1); // Default to Jan 1, 1970, 00:00:00
var endDate = new Date(2500, 0, 1); // Default to Jan 1, 2500, 00:00:00

// Date format to use in the spreadsheet.
var dateFormat = 'M/d/yyyy H:mm';
Expand Down