mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
format rss feed last fetched at timestamp to short time
This commit is contained in:
parent
18251aefed
commit
b5e9aaa303
1 changed files with 2 additions and 2 deletions
|
|
@ -7,7 +7,7 @@ import {
|
|||
SettingsTable,
|
||||
SettingsTableRow,
|
||||
} from '../../../components/templates/settings/SettingsTable'
|
||||
import { formattedLongDate } from '../../../lib/dateFormatting'
|
||||
import { formattedShortTime } from '../../../lib/dateFormatting'
|
||||
import { unsubscribeMutation } from '../../../lib/networking/mutations/unsubscribeMutation'
|
||||
import {
|
||||
SubscriptionType,
|
||||
|
|
@ -74,7 +74,7 @@ export default function Rss(): JSX.Element {
|
|||
{`URL: ${subscription.url}, `}
|
||||
{`Last fetched: ${
|
||||
subscription.lastFetchedAt
|
||||
? formattedLongDate(subscription.lastFetchedAt)
|
||||
? formattedShortTime(subscription.lastFetchedAt)
|
||||
: 'Never'
|
||||
}`}
|
||||
</StyledText>
|
||||
|
|
|
|||
Loading…
Reference in a new issue