From cdfea5f3b23ce1b963051561db3d20d86e96255c Mon Sep 17 00:00:00 2001 From: sstent Date: Tue, 17 Feb 2026 07:34:52 -0800 Subject: [PATCH] Bump version to 0.2.7 and add PST localization logging --- icalendar.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/icalendar.ts b/icalendar.ts index d256387..1db49be 100644 --- a/icalendar.ts +++ b/icalendar.ts @@ -2,7 +2,7 @@ import { clientStore, config, datastore, editor, index } from "@silverbulletmd/s import { localDateString } from "@silverbulletmd/silverbullet/lib/dates"; import { convertIcsCalendar, type IcsCalendar, type IcsEvent, type IcsDateObjects } from "ts-ics"; -const VERSION = "0.2.6"; +const VERSION = "0.2.7"; const CACHE_KEY = "icalendar:lastSync"; const DEFAULT_CACHE_DURATION_SECONDS = 21600; // 6 hours @@ -85,12 +85,12 @@ function convertDatesToStrings(obj: T, timezones?: any): DateToString { if (obj instanceof Date) { const localized = localDateString(obj); - console.log(`[iCalendar] Localizing Date Object: UTC=${obj.toISOString()} -> Local=${localized}`); + console.log(`[iCalendar] Localizing Date Object: UTC=${obj.toISOString()} -> PST=${localized}`); return localized as DateToString; } if (isIcsDateObjects(obj) && obj.date instanceof Date) { const localized = localDateString(obj.date); - console.log(`[iCalendar] Localizing ICS Date: UTC=${obj.date.toISOString()} -> Local=${localized} (TZID: ${obj.timezone || "none"})`); + console.log(`[iCalendar] Localizing ICS Date: UTC=${obj.date.toISOString()} -> PST=${localized} (TZID: ${obj.timezone || "none"})`); return localized as DateToString; }