diff options
| author | Raphael Kabo <raphael@Raphaels-MacBook-Pro.local> | 2019-08-02 09:42:31 +0100 | 
|---|---|---|
| committer | Raphael Kabo <raphael@Raphaels-MacBook-Pro.local> | 2019-08-02 09:42:31 +0100 | 
| commit | d454317d1ed02983cfb5fa9da262ca10af86e80e (patch) | |
| tree | db5174e6c4bdef303d99cf338350c87a47232bcc /views/event.handlebars | |
| parent | b4af62626bdcec36912873d396b766ba7cacfe93 (diff) | |
Backend to display events in appropriate timezone
Diffstat (limited to 'views/event.handlebars')
| -rwxr-xr-x | views/event.handlebars | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/views/event.handlebars b/views/event.handlebars index f27e8b6..437a5a7 100755 --- a/views/event.handlebars +++ b/views/event.handlebars @@ -41,12 +41,12 @@  					<i class="far fa-fw fa-calendar-alt"></i>  				</span>  				{{{displayDate}}} -				<a href="http://www.google.com/calendar/event?action=TEMPLATE&dates={{parsedStart}}%2F{{parsedEnd}}&text={{escapedName}}&location={{parsedLocation}}" class="eventInformationAction btn btn-outline-secondary btn-sm"> +				<a href="http://www.google.com/calendar/event?action=TEMPLATE&dates={{parsedStart}}%2F{{parsedEnd}}&text={{escapedName}}&location={{parsedLocation}}&ctz={{timezone}}" class="eventInformationAction btn btn-outline-secondary btn-sm">  					<i class="far fa-calendar-plus"></i> Add to Google Calendar  				</a>  				<br>  				<span class="text-muted"> -					{{fromNow}} +					{{#if eventHasBegun}}{{#unless eventHasConcluded}}Started {{else}}Ended {{/unless}}{{/if}}{{fromNow}}  				</span>  			</li>  			{{#if eventData.url}}  | 
