From e3097587828362e34352cf4f378c8f5a260ea700 Mon Sep 17 00:00:00 2001
From: jhzh <1628036192@qq.com>
Date: Thu, 19 Sep 2024 16:32:00 +0800
Subject: [PATCH] no message

---
 src/utils/utils.js |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/utils/utils.js b/src/utils/utils.js
index f05f94f..5a703c3 100644
--- a/src/utils/utils.js
+++ b/src/utils/utils.js
@@ -1,5 +1,7 @@
-import moment from "moment";
+const moment = require("moment-timezone");
 
+// 设置时区为印度标准时间
+moment.tz.setDefault("Asia/Kolkata");
 // 单位用千位分隔符显示
 export function thousandBitSeparator(str) {
   var num = parseFloat(str).toFixed(3); // 这里因为我需要两位小数所以做一个限制,你们看情况做小数位的限制

--
Gitblit v1.9.3