🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
chore(ui): show month as letters in invoicing table (#9841)
Marc Klingene971a0138583
diff --git a/web/src/ee/features/billing/components/BillingInvoiceTable.tsx b/web/src/ee/features/billing/components/BillingInvoiceTable.tsxindex 462febc077..b8facb1383 100644--- a/web/src/ee/features/billing/components/BillingInvoiceTable.tsx+++ b/web/src/ee/features/billing/components/BillingInvoiceTable.tsx@@ -6,7 +6,6 @@ import { Badge } from "@/src/components/ui/badge";import { api } from "@/src/utils/api";import { usdFormatter } from "@/src/utils/numbers";import { Download, ExternalLink } from "lucide-react";-import { formatLocalIsoDate } from "@/src/components/LocalIsoDate";import { useEffect, useMemo, useState } from "react";import { useBillingInformation } from "./useBillingInformation";@@ -117,9 +116,12 @@ export function BillingInvoiceTable() {header: "Date",cell: ({ row }) => {const value = row.getValue("created") as InvoiceRow["created"];- return value- ? formatLocalIsoDate(new Date(value), false, "day")- : undefined;+ if (!value) return undefined;+ const date = new Date(value);+ const year = date.getFullYear();+ const month = date.toLocaleDateString("en-US", { month: "short" });+ const day = String(date.getDate()).padStart(2, "0");+ return `${year}-${month}-${day}`;},size: 90,},