mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-26 15:26:19 +00:00
fix org logs time
This commit is contained in:
@@ -1,12 +1,15 @@
|
||||
import React, { Component } from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import moment from 'moment';
|
||||
import { Dropdown, DropdownToggle, DropdownMenu, DropdownItem } from 'reactstrap';
|
||||
import { Utils } from '../../utils/utils';
|
||||
import { seafileAPI } from '../../utils/seafile-api';
|
||||
import { siteRoot, gettext } from '../../utils/constants';
|
||||
import { siteRoot, gettext, lang } from '../../utils/constants';
|
||||
import OrgLogsFilePermEvent from '../../models/org-logs-perm-audit';
|
||||
import '../../css/org-logs.css';
|
||||
|
||||
moment.locale(lang);
|
||||
|
||||
class OrgLogsFileUpdate extends Component {
|
||||
|
||||
constructor(props) {
|
||||
@@ -225,7 +228,7 @@ class PermAuditItem extends React.Component {
|
||||
<td>{Utils.sharePerms(permEvent.permission)}</td>
|
||||
<td>{this.renderRepo(permEvent)}</td>
|
||||
<td>{this.renderFolder(permEvent.folder_name)}</td>
|
||||
<td>{permEvent.time}</td>
|
||||
<td>{moment(permEvent.time).format('YYYY-MM-DD HH:mm:ss')}</td>
|
||||
</tr>
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user