update db str

This commit is contained in:
2026-03-05 12:43:44 +05:30
parent eabf295f2e
commit 6e184dc590
27 changed files with 2780 additions and 146 deletions

View File

@@ -171,3 +171,16 @@ export async function getEntriesByDate(
{ token }
)
}
// ============================================
// TIMEZONE CONVERSION ENDPOINTS
// ============================================
export async function convertUTCToIST(utcTimestamp: string) {
return apiCall<{ utc: string; ist: string }>(
`/api/entries/convert-timestamp/utc-to-ist`,
{
method: 'POST',
body: { timestamp: utcTimestamp },
}
)
}