mirror of
https://github.com/haiwen/seahub.git
synced 2025-06-26 23:17:58 +00:00
update file history time (#2392)
This commit is contained in:
parent
f6c50235a2
commit
6b62d3e653
@ -49,8 +49,7 @@ class HistoryListItem extends React.Component {
|
||||
|
||||
render() {
|
||||
let item = this.props.item;
|
||||
let offset = moment.parseZone(item.ctime).utcOffset();
|
||||
let time = moment(item.ctime).add(offset,'m').format('MMMDo Ah:mm');
|
||||
let time = moment.parseZone(item.ctime).format('YYYY-MM-DD HH:mm');
|
||||
let isHigtlightItem = false;
|
||||
if (this.props.item && this.props.currentItem) {
|
||||
isHigtlightItem = this.props.item.commit_id === this.props.currentItem.commit_id;
|
||||
|
Loading…
Reference in New Issue
Block a user