fix: keep birthdays and show Shamsi dates

Imported customers keep their birthday, and assistant text plus remaining calendars use the Jalali date.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-13 18:04:53 +03:30
co-authored by Cursor
parent 5f4cc47c41
commit cf326d1ed9
34 changed files with 637 additions and 105 deletions
+2 -1
View File
@@ -11,6 +11,7 @@ import {
calendarDaysBetween,
formatJalaliDayClock,
formatNextSlot,
rewriteGregorianDates,
formatRelativeContact,
toFaDigits,
} from '@/lib/jalali';
@@ -435,7 +436,7 @@ async function loadAiBrief() {
question:
'وضعیت کاری امروز من را خلاصه کن: فعالیت‌های عقب‌افتاده، معاملات باز و مهم‌ترین پیگیری بعدی.',
});
aiBrief.value = data.answer;
aiBrief.value = rewriteGregorianDates(data.answer);
} catch {
aiBrief.value = '';
}