From ad34e615ef25319ae012e3faa5420493aa1ca420 Mon Sep 17 00:00:00 2001 From: stefan friedrich Date: Sun, 18 Sep 2016 16:35:49 +0200 Subject: [PATCH 1/4] Update README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 43bd5cf..e620de6 100755 --- a/README.md +++ b/README.md @@ -39,7 +39,11 @@ In return you'll get an url that creates an entry in Google Calendar when called ## Options {{ entry | date2calendar }} => returns the link for google calendar + {{ entry | date2calendar('GC') }} => returns the link for google calendar + {{ entry | date2calendar('ICS') }} => downloads an ics-file for outlook, ical, whatever.. + {{ entry | date2calendar('GC', +2) }} => returns the link for google calendar with the date plus 2 hours + {{ entry | date2calendar('ICS', -2) }} => returns the link for google calendar with the date minus 2 hours From 6de06588adaaa4e154da1b1137608863c43fffc1 Mon Sep 17 00:00:00 2001 From: stefan friedrich Date: Sun, 18 Sep 2016 16:36:19 +0200 Subject: [PATCH 2/4] Update README.md --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index e620de6..e254dc6 100755 --- a/README.md +++ b/README.md @@ -11,10 +11,15 @@ Go to Settings > Plugins from your Craft control panel and enable the Date2Calen ## Usage Simple usage if your entryfields for the event are named like this: + entry.start + entry.end + entry.title + entry.description + entry.location If so, use this: From 60e4c58622e9d1f440c82612cb263ffb98331dae Mon Sep 17 00:00:00 2001 From: stefan friedrich Date: Sun, 18 Sep 2016 16:36:47 +0200 Subject: [PATCH 3/4] Update README.md --- README.md | 9 --------- 1 file changed, 9 deletions(-) diff --git a/README.md b/README.md index e254dc6..43bd5cf 100755 --- a/README.md +++ b/README.md @@ -11,15 +11,10 @@ Go to Settings > Plugins from your Craft control panel and enable the Date2Calen ## Usage Simple usage if your entryfields for the event are named like this: - entry.start - entry.end - entry.title - entry.description - entry.location If so, use this: @@ -44,11 +39,7 @@ In return you'll get an url that creates an entry in Google Calendar when called ## Options {{ entry | date2calendar }} => returns the link for google calendar - {{ entry | date2calendar('GC') }} => returns the link for google calendar - {{ entry | date2calendar('ICS') }} => downloads an ics-file for outlook, ical, whatever.. - {{ entry | date2calendar('GC', +2) }} => returns the link for google calendar with the date plus 2 hours - {{ entry | date2calendar('ICS', -2) }} => returns the link for google calendar with the date minus 2 hours From 1bc5d60d2847f635efe7e27a8f283eab96f9cbda Mon Sep 17 00:00:00 2001 From: stefan friedrich Date: Sun, 18 Sep 2016 16:42:28 +0200 Subject: [PATCH 4/4] Update README.md linebreaks in readme. --- README.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 43bd5cf..ca96aa5 100755 --- a/README.md +++ b/README.md @@ -10,12 +10,12 @@ Go to Settings > Plugins from your Craft control panel and enable the Date2Calen ## Usage -Simple usage if your entryfields for the event are named like this: -entry.start -entry.end -entry.title -entry.description -entry.location +Simple usage if your entryfields for the event are named like this: +entry.start +entry.end +entry.title +entry.description +entry.location If so, use this: ```jinja @@ -38,8 +38,8 @@ In return you'll get an url that creates an entry in Google Calendar when called ## Options -{{ entry | date2calendar }} => returns the link for google calendar -{{ entry | date2calendar('GC') }} => returns the link for google calendar -{{ entry | date2calendar('ICS') }} => downloads an ics-file for outlook, ical, whatever.. -{{ entry | date2calendar('GC', +2) }} => returns the link for google calendar with the date plus 2 hours -{{ entry | date2calendar('ICS', -2) }} => returns the link for google calendar with the date minus 2 hours +{{ entry | date2calendar }} => returns the link for google calendar +{{ entry | date2calendar('GC') }} => returns the link for google calendar +{{ entry | date2calendar('ICS') }} => downloads an ics-file for outlook, ical, whatever.. +{{ entry | date2calendar('GC', +2) }} => returns the link for google calendar with the date plus 2 hours +{{ entry | date2calendar('ICS', -2) }} => returns the link for google calendar with the date minus 2 hours