Skip to content
This repository has been archived by the owner on Mar 29, 2019. It is now read-only.

Events added through a Google Calendar always display as allDay #25

Open
rgriffith opened this issue Jan 9, 2014 · 0 comments
Open
Labels

Comments

@rgriffith
Copy link
Member

Looking at the Google Calendar plugin, it looks as though we need to modify the plugin to append our fixedtime class that "inverses" the styling for non-all day events.

events.push({
    id: entry['gCal$uid']['value'],
    title: entry['title']['$t'],
    url: url,
    start: start,
    end: end,
    allDay: allDay,
    location: entry['gd$where'][0]['valueString'],
    description: entry['content']['$t']
});

Should become:

events.push({
    id: entry['gCal$uid']['value'],
    title: entry['title']['$t'],
    url: url,
    start: start,
    end: end,
    allDay: allDay,
    location: entry['gd$where'][0]['valueString'],
    description: entry['content']['$t'],
    className: allDay === false ? sourceOptions.className + " fixedtime" : ""
});
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant