Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

Show absolute date in Budget Reset column

Ryan Crabbe1f6e01802de8
diff --git a/ui/litellm-dashboard/src/utils/budgetUtils.ts b/ui/litellm-dashboard/src/utils/budgetUtils.ts
index ba13528bee1..3d3278db88f 100644
--- a/ui/litellm-dashboard/src/utils/budgetUtils.ts
+++ b/ui/litellm-dashboard/src/utils/budgetUtils.ts
@@ -4,10 +4,5 @@ export function formatBudgetReset(iso: string | null | undefined): string | null
if (!iso) return null;
const resetDate = dayjs(iso);
if (!resetDate.isValid()) return null;
-
- const days = resetDate.diff(dayjs(), "day");
- if (days < 0) return `on ${resetDate.format("MMM D, YYYY")}`;
- if (days === 0) return "today";
- if (days < 7) return `in ${days} day${days === 1 ? "" : "s"}`;
- return `on ${resetDate.format("MMM D, YYYY")}`;
+ return resetDate.format("MMM D, YYYY");
}