tango-app-api-task 3.5.0-alpha-0 → 3.5.0-alpha-1
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
|
@@ -2308,7 +2308,7 @@ export async function approveTask( req, res ) {
|
|
|
2308
2308
|
let approvalUpdateData = {
|
|
2309
2309
|
approvalStatus: true,
|
|
2310
2310
|
approvalTime: new Date(),
|
|
2311
|
-
approvalTime_string: dayjs().format( 'hh:mm A, DD MMM YYYY' ),
|
|
2311
|
+
approvalTime_string: dayjs().tz( 'Asia/Kolkata' ).format( 'hh:mm A, DD MMM YYYY' ),
|
|
2312
2312
|
approvalByName: req.user.userName,
|
|
2313
2313
|
approvalByEmail: req.user.email,
|
|
2314
2314
|
};
|
|
@@ -2327,7 +2327,7 @@ export async function approveTask( req, res ) {
|
|
|
2327
2327
|
'upsert': {
|
|
2328
2328
|
approvalStatus: true,
|
|
2329
2329
|
approvalTime: new Date(),
|
|
2330
|
-
approvalTime_string: dayjs().format( 'hh:mm A, DD MMM YYYY' ),
|
|
2330
|
+
approvalTime_string: dayjs().tz( 'Asia/Kolkata' ).format( 'hh:mm A, DD MMM YYYY' ),
|
|
2331
2331
|
approvalByName: req.user.userName,
|
|
2332
2332
|
approvalByEmail: req.user.email,
|
|
2333
2333
|
},
|