From 5e19ffde595997938301fbfa35e1b3e11ee400d9 Mon Sep 17 00:00:00 2001 From: aadhavan valli Date: Sat, 17 Feb 2024 08:09:14 +0530 Subject: [PATCH] ACTIVATIONDATEFORMATECHANGE : AADHAVAN --- app/controllers/jwt_controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/jwt_controller.js b/app/controllers/jwt_controller.js index cfda6ec..520a47d 100644 --- a/app/controllers/jwt_controller.js +++ b/app/controllers/jwt_controller.js @@ -8,7 +8,7 @@ const moment = require('moment'); module.exports.addMacValue= async(req, res, next)=>{ try { - const today = new Date(); + const today = moment().format('YYYY/MM/DD'); const one_year = moment().add(1, 'year'); const nextFiscalYearEndDate = one_year.format('YYYY/MM/DD');