Fix/contract test fixes (#1490)

* fix: remove outdated tests

* fix: failing tests fixed and updated

* fix: proper gitcommit entry with metadata

* chore: yarn prettier
This commit is contained in:
Evi Nova
2025-12-12 22:43:00 +10:00
committed by GitHub
parent 4b09e5b96f
commit a3ec81b8fa
16 changed files with 343 additions and 1585 deletions

View File

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