Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

fix(property): date display (#985)

Eric Hayes673bb95f7a26
diff --git a/js/app/packages/core/component/Properties/utils/formatting.ts b/js/app/packages/core/component/Properties/utils/formatting.ts
index 17ee6cabdb..31a3875d10 100644
--- a/js/app/packages/core/component/Properties/utils/formatting.ts
+++ b/js/app/packages/core/component/Properties/utils/formatting.ts
@@ -24,11 +24,7 @@ export function formatNumber(value: number): string {
export function formatDate(value: Date | string): string {
const date = typeof value === 'string' ? new Date(value) : value;
- // Parse as local date to avoid timezone issues
- const dateStr = date.toISOString().split('T')[0];
- const localDate = new Date(dateStr + 'T00:00:00');
-
- return localDate.toLocaleDateString('en-US', {
+ return date.toLocaleDateString('en-US', {
month: 'short',
day: 'numeric',
year: 'numeric',