1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-05 08:53:14 +00:00

change-modify-time-str-sysadmin-user-repos-api (#4327)

This commit is contained in:
Leo
2019-11-30 18:15:16 +08:00
committed by lian
parent ac285af548
commit 63f4e23f4c
2 changed files with 2 additions and 2 deletions

View File

@@ -188,7 +188,7 @@ class Item extends Component {
<td><img src={iconUrl} title={iconTitle} alt={iconTitle} width="24" /></td>
<td>{this.renderRepoName()}</td>
<td>{Utils.bytesToSize(item.size)}</td>
<td>{moment(item.last_modify).fromNow()}</td>
<td>{moment(item.last_modified).fromNow()}</td>
<td>
{isOpIconShown &&
<OpMenu

View File

@@ -56,7 +56,7 @@ def get_repo_info(repo):
result['encrypted'] = repo.encrypted
result['file_count'] = repo.file_count
result['status'] = normalize_repo_status_code(repo.status)
result['last_modify'] = timestamp_to_isoformat_timestr(repo.last_modified)
result['last_modified'] = timestamp_to_isoformat_timestr(repo.last_modified)
if '@seafile_group' in owner:
group_id = get_group_id_by_repo_owner(owner)