tango-app-api-trax 3.3.1-hotfix-2 → 3.3.1-hotfix-3

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.3.1-hotfix-2",
3
+ "version": "3.3.1-hotfix-3",
4
4
  "description": "Trax",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -1466,7 +1466,8 @@ export const updateConfigurev1 =async ( req, res ) => {
1466
1466
  return res.sendError( 'no data found', 204 );
1467
1467
  }
1468
1468
 
1469
- let currentDate = dayjs.utc().format();
1469
+ let currentDate = dayjs().format( 'HH:mm:ss' );
1470
+ currentDate = dayjs.utc( currentDate, 'HH:mm:ss' ).format();
1470
1471
  let updatedscheduleEndTimeISO = dayjs.utc( inputBody?.checkListDetails?.scheduleEndTime, 'hh:mm A' ).format( 'HH:mm:ss' );
1471
1472
  let newUpdatedDate = dayjs.utc( updatedscheduleEndTimeISO, 'HH:mm:ss' ).format();
1472
1473