tango-app-api-trax 3.7.88 → 3.7.89

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.7.88",
3
+ "version": "3.7.89",
4
4
  "description": "Trax",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -3489,7 +3489,7 @@ export const downloadInsertPdf = async ( req, res ) => {
3489
3489
  const safeName = ( str ) =>
3490
3490
  ( str || '' ).toString().replace( /[<>:"/\\|?*]+/g, '_' );
3491
3491
  for ( const checklistInfo of checklistInfoList ) {
3492
- // console.log( dayjs().diff( dayjs( checklistInfo.scheduleEndTime, 'hh:mm A' ), 'minute' ) );
3492
+ console.log( dayjs.utc().diff( dayjs.utc( checklistInfo.scheduleEndTime, 'hh:mm A' ), 'minute' ) );
3493
3493
  if ( dayjs.utc().diff( dayjs.utc( checklistInfo.scheduleEndTime, 'hh:mm A' ), 'minute' ) == 30 ) {
3494
3494
  let data = {
3495
3495
  checklistName: checklistInfo.checkListName,