Google Calendar Plugin (YukiGasai) and Templater - Event Note Template with Date/Time in Title

Things I have tried

I am trying to make a template that gives me a note name of With the date, start time, and meeting title.

I have tried

<% await tp.file.rename( “{{gEvent.StartDateTime}}” + “{{gEvent.summary}}”) %>

Unfortunately the {{gEvent.StartDateTime}} spits out something like this:

The colons are not allowed in a filename so the whole thing breaks down.

Additionally, {{gEvent.start}} and {{}} don’t seem to give any info

What I’m trying to do

Is there either

  1. A different gEvent I should be using
  2. A way to format gEvent.StartDateTime in the tp.file.rename command

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.