mirror of https://github.com/jumpserver/jumpserver
[Update] 修改日志日期显示问题
parent
e9103ee608
commit
e9fc56c056
|
@ -1256,7 +1256,8 @@ function toSafeDateISOStr(s) {
|
|||
|
||||
function toSafeLocalDateStr(d) {
|
||||
var date = safeDate(d);
|
||||
var date_s = date.toLocaleString(getUserLang(), {hour12: false});
|
||||
// var date_s = date.toLocaleString(getUserLang(), {hour12: false});
|
||||
var date_s = date.toLocaleString(getUserLang(), {hourCycle: "h23"});
|
||||
return date_s.split("/").join('-')
|
||||
}
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<script src="{% static "js/plugins/toastr/toastr.min.js" %}"></script>
|
||||
<script src="{% static "js/inspinia.js" %}"></script>
|
||||
<script type="text/javascript" src="{% url 'javascript-catalog' %}"></script>
|
||||
<script src="{% static "js/jumpserver.js" %}?v=7"></script>
|
||||
<script src="{% static "js/jumpserver.js" %}?v=8"></script>
|
||||
<script src="{% static 'js/plugins/select2/select2.full.min.js' %}"></script>
|
||||
<script src="{% static 'js/plugins/select2/i18n/zh-CN.js' %}"></script>
|
||||
<script>
|
||||
|
|
Loading…
Reference in New Issue