tango-app-api-audit 3.4.68-beta.11 → 3.4.68-beta.12
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
|
@@ -298,7 +298,7 @@ export async function viewFile( req, res ) {
|
|
|
298
298
|
const searchData = temp?
|
|
299
299
|
getData['lastAuditedDetails']= {
|
|
300
300
|
'auditedBy': getUserName?.userName || '',
|
|
301
|
-
'completionTime': temp?._source?.startTime? dayjs.utc( temp?._source?.startTime ).tz( 'Asia/Kolkata' ).format( 'HH:ss
|
|
301
|
+
'completionTime': temp?._source?.startTime? dayjs.utc( temp?._source?.startTime ).tz( 'Asia/Kolkata' ).format( 'HH:mm:ss' ): '',
|
|
302
302
|
'timeZone': temp?.timeZone || '',
|
|
303
303
|
} : null;
|
|
304
304
|
getData['complianceScore'] = getData.complianceScore || getData?.totalSteps>0 ? Math.round( ( getData?.coveredStepsAI/ getData?.totalSteps )*100 ): 0;
|
|
@@ -740,7 +740,7 @@ export async function getFileHistory( req, res ) {
|
|
|
740
740
|
userId: data._source.userId,
|
|
741
741
|
userName: findUser.userName,
|
|
742
742
|
Date: dayjs( data._source.endTime ).format( 'DD/MM/YYYY' ),
|
|
743
|
-
Time: dayjs.utc( data._source.endTime ).tz( 'Asia/Kolkata' ).format( 'HH:ss
|
|
743
|
+
Time: dayjs.utc( data._source.endTime ).tz( 'Asia/Kolkata' ).format( 'HH:mm:ss' ),
|
|
744
744
|
} );
|
|
745
745
|
}
|
|
746
746
|
|