From ee8e2a6b9a32c4123493646751354c3ad5ae53d5 Mon Sep 17 00:00:00 2001 From: zhongjin Date: Tue, 9 Apr 2024 13:30:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'lib/assets/javascripts/da?= =?UTF-8?q?shboard/profile.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/assets/javascripts/dashboard/profile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/assets/javascripts/dashboard/profile.js b/lib/assets/javascripts/dashboard/profile.js index 9a4d6b9..dc85902 100644 --- a/lib/assets/javascripts/dashboard/profile.js +++ b/lib/assets/javascripts/dashboard/profile.js @@ -2,7 +2,7 @@ var ACTIVE_LOCALE = window.ACTIVE_LOCALE; ACTIVE_LOCALE = 'zh-cn'; if (ACTIVE_LOCALE !== 'en') { - require('moment/locale/' + ACTIVE_LOCALE); + require('moment/locale/zh-cn'); } const _ = require('underscore'); require('dashboard/data/backbone/sync-options');