mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-10 03:28:53 +00:00
fix time filters
This commit is contained in:
parent
0118f2ee31
commit
d8774bb53d
1 changed files with 4 additions and 7 deletions
|
|
@ -105,13 +105,10 @@ export default function SpendLogsTable({
|
|||
};
|
||||
}
|
||||
|
||||
const formattedStartTime = moment(startTime).utc().format("YYYY-MM-DD HH:mm:ss");
|
||||
const formattedStartTime = moment(startTime).format("YYYY-MM-DD HH:mm:ss");
|
||||
const formattedEndTime = isCustomDate
|
||||
? moment(endTime).utc().format("YYYY-MM-DD HH:mm:ss")
|
||||
: moment().utc().format("YYYY-MM-DD HH:mm:ss");
|
||||
|
||||
console.log("formattedStartTime", formattedStartTime);
|
||||
console.log("formattedEndTime", formattedEndTime);
|
||||
? moment(endTime).format("YYYY-MM-DD HH:mm:ss")
|
||||
: moment().format("YYYY-MM-DD HH:mm:ss");
|
||||
|
||||
return await uiSpendLogsCall(
|
||||
accessToken,
|
||||
|
|
@ -179,7 +176,7 @@ export default function SpendLogsTable({
|
|||
<h1 className="text-xl font-semibold">Request Logs</h1>
|
||||
</div>
|
||||
|
||||
<div className="bg-white rounded-lg shadow overflow-hidden">
|
||||
<div className="bg-white rounded-lg shadow">
|
||||
<div className="border-b px-6 py-4">
|
||||
<div className="flex flex-col md:flex-row items-start md:items-center justify-between space-y-4 md:space-y-0">
|
||||
<div className="flex flex-wrap items-center gap-3">
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue