style: playground output tips
This commit is contained in:
@@ -121,9 +121,7 @@ const InstanceItem: React.FC<InstanceItemProps> = ({
|
||||
</Col>
|
||||
<Col span={5}>
|
||||
<span style={{ paddingLeft: 38 }}>
|
||||
{dayjs(item.created_at)
|
||||
.local()
|
||||
.format('YYYY-MM-DD HH:mm:ss')}
|
||||
{dayjs(item.created_at).format('YYYY-MM-DD HH:mm:ss')}
|
||||
</span>
|
||||
</Col>
|
||||
<Col span={4}>
|
||||
|
||||
@@ -378,8 +378,7 @@ const Models: React.FC<ModelsProps> = ({
|
||||
showSorterTooltip={false}
|
||||
sorter={true}
|
||||
render={(text, row) => {
|
||||
console.log('val=time===', text, row.name, row, row.created_at);
|
||||
return dayjs(text).local().format('YYYY-MM-DD HH:mm:ss');
|
||||
return dayjs(text).format('YYYY-MM-DD HH:mm:ss');
|
||||
}}
|
||||
/>
|
||||
<SealColumn
|
||||
|
||||
Reference in New Issue
Block a user