diff options
| author | Leonardo Bishop <me@leonardobishop.com> | 2025-01-20 13:23:59 +0000 |
|---|---|---|
| committer | Leonardo Bishop <me@leonardobishop.com> | 2025-01-20 13:23:59 +0000 |
| commit | 0d0a02766a59729f61c48f00e71bdae91ed64482 (patch) | |
| tree | 7198bc502ba8a79741f9e1e896d8d6a28324531d | |
| parent | 9620cbb8fa549dd745fa57ff1c050a9691faedf4 (diff) | |
Update thing
| -rw-r--r-- | pkg/ical/service.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/ical/service.go b/pkg/ical/service.go index e6d50d8..a90183f 100644 --- a/pkg/ical/service.go +++ b/pkg/ical/service.go @@ -64,7 +64,7 @@ func (s *service) GenerateIcalForCalendar(calendar sqlc.Calendar) (string, error ret += "DTSTART:" + utcStart.Format("20060102T150405Z") + "\n" ret += "DTEND:" + utcEnd.Format("20060102T150405Z") + "\n" ret += "LOCATION:" + event.Room + "\n" - ret += "DESCRIPTION;ENCODING=QUOTED-PRINTABLE:" + bluemonday.StrictPolicy().Sanitize(strings.Replace(event.Abstract, "\n", "\\n", -1)) + "\\nLast Synchronised: " + now.Format(time.DateTime) + "\n" + ret += "DESCRIPTION;ENCODING=QUOTED-PRINTABLE:" + bluemonday.StrictPolicy().Sanitize(strings.Replace(event.Abstract, "\n", "\\n", -1)) + "\\n\\nconfplanner: last synchronised: " + now.Format(time.RFC1123) + "\n" ret += "END:VEVENT\n" } ret += "END:VCALENDAR\n" |
