tango-app-api-audit 3.6.49 → 3.6.50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1401,7 +1401,7 @@ function getISTDate( dateString ) {
|
|
|
1401
1401
|
// Get UTC time in milliseconds
|
|
1402
1402
|
const utc = dateObj.getTime() + ( dateObj.getTimezoneOffset() * 60000 );
|
|
1403
1403
|
// IST offset is +5:30, which is 19800000 ms
|
|
1404
|
-
return new Date( utc
|
|
1404
|
+
return new Date( utc - ( 5.5 * 60 * 60 * 1000 ) );
|
|
1405
1405
|
// set at first to eod
|
|
1406
1406
|
}
|
|
1407
1407
|
|