tango-app-api-trax 3.6.2-bulktask-9 → 3.6.2-bulktask-11

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tango-app-api-trax",
3
- "version": "3.6.2-bulktask-9",
3
+ "version": "3.6.2-bulktask-11",
4
4
  "description": "Trax",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -491,10 +491,10 @@ export async function redoChecklist( req, res ) {
491
491
  type: checklistDetails.checkListType,
492
492
  userAnswer: userAnswer,
493
493
  initiatedBy: req.user.userName,
494
- initiatedTime: dayjs.utc( currentDateTime.format( 'hh:mm:ss A, DD MMM YYYY' ), 'hh:mm:ss A, DD MMM YYYY' ).format(),
494
+ initiatedTime: dayjs.utc( ).format(),
495
495
  answerType: question[sectionIndex].questions[findQuestion].answerType,
496
496
  submitedBy: checklistDetails.userName,
497
- submitTime: checklistDetails.submitTime,
497
+ submitTime: dayjs.utc( checklistDetails.submitTime ).format(),
498
498
  };
499
499
  await checklistLogs.create( data );
500
500
 
@@ -642,10 +642,10 @@ export async function redomultiChecklist( req, res ) {
642
642
  type: checklistDetails.checkListType,
643
643
  userAnswer: userAnswer,
644
644
  initiatedBy: req.user.userName,
645
- initiatedTime: dayjs.utc( currentDateTime.format( 'hh:mm:ss A, DD MMM YYYY' ), 'hh:mm:ss A, DD MMM YYYY' ).format(),
645
+ initiatedTime: dayjs.utc( ).format(),
646
646
  answerType: question[sectionIndex].questions[findQuestion].answerType,
647
647
  submitedBy: checklistDetails.userName,
648
- submitTime: checklistDetails.submitTime,
648
+ submitTime: dayjs.utc( checklistDetails.submitTime ).format(),
649
649
  };
650
650
  await checklistLogs.create( data );
651
651