fix returnNewDateString() (#1505)

This commit is contained in:
Seshanth.S
2025-12-15 22:28:59 +05:30
committed by GitHub
parent 4d04f48a06
commit db9bce8262

View File

@@ -398,7 +398,7 @@ export async function getAadharRegistrationWindow() {
}
export function returnNewDateString(timestamp?: string): string {
const newDate = timestamp ? new Date(+timestamp * 1000) : new Date();
const newDate = timestamp ? new Date(+timestamp) : new Date();
// Convert the UTC date to IST by adding 5 hours and 30 minutes
const offsetHours = 5;