Skip to content

Commit

Permalink
feat(FOROME-1297): remove hours from dataset creation time
Browse files Browse the repository at this point in the history
  • Loading branch information
QSdmitrioul committed Jul 4, 2022
1 parent b64f2bd commit 3207e18
Showing 1 changed file with 1 addition and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { FC } from 'react'
import cn from 'classnames'

import { formatDate, formatTime } from '@core/format-date'
import { formatDate } from '@core/format-date'

interface IDatasetTimeProps {
time: string | Date
Expand All @@ -16,14 +16,5 @@ export const DatasetTime: FC<IDatasetTimeProps> = ({ time, isActive }) => (
)}
>
<div>{formatDate(time)}</div>

<div
className={cn(
'border-l my-1 mx-1',
isActive ? 'border-white' : 'border-blue-secondary',
)}
/>

<div>{formatTime(time)}</div>
</div>
)

0 comments on commit 3207e18

Please sign in to comment.