Explorar o código

时间日期插件支持多语言

jqh %!s(int64=5) %!d(string=hai) anos
pai
achega
5bf1c7f3dc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/Layout/Asset.php

+ 1 - 1
src/Layout/Asset.php

@@ -87,7 +87,7 @@ class Asset
         ],
         '@moment' => [
             'js' => [
-                '@admin/dcat/plugins/moment/moment.min.js',
+                '@admin/dcat/plugins/moment/moment-with-locales.min.js',
             ],
         ],
         '@moment-timezone' => [