mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +00:00
Rename component 'DateRange' to 'DateTimeRange'
This commit is contained in:
parent
9346a6b543
commit
52cf19d5fc
@ -32,7 +32,7 @@
|
||||
import { format, isSameDay, isSameYear } from 'date-fns'
|
||||
|
||||
export default {
|
||||
name: 'DateRange',
|
||||
name: 'DateTimeRange',
|
||||
props: {
|
||||
/**
|
||||
* The size used for the text.
|
||||
@ -44,7 +44,7 @@
|
||||
</ds-text>
|
||||
</ds-flex-item>
|
||||
<ds-flex-item>
|
||||
<date-range
|
||||
<date-time-range
|
||||
class="event-info"
|
||||
size="small"
|
||||
:startDate="post.eventStart"
|
||||
@ -115,7 +115,7 @@
|
||||
import Category from '~/components/Category'
|
||||
import ContentMenu from '~/components/ContentMenu/ContentMenu'
|
||||
import CounterIcon from '~/components/_new/generic/CounterIcon/CounterIcon'
|
||||
import DateRange from '~/components/DateRange/DateRange'
|
||||
import DateTimeRange from '~/components/DateTimeRange/DateTimeRange'
|
||||
import HcRibbon from '~/components/Ribbon'
|
||||
import UserTeaser from '~/components/UserTeaser/UserTeaser'
|
||||
import { mapGetters } from 'vuex'
|
||||
@ -128,7 +128,7 @@ export default {
|
||||
Category,
|
||||
ContentMenu,
|
||||
CounterIcon,
|
||||
DateRange,
|
||||
DateTimeRange,
|
||||
HcRibbon,
|
||||
UserTeaser,
|
||||
},
|
||||
|
||||
@ -71,7 +71,7 @@
|
||||
{{ $t('post.viewEvent.eventIsOnline') }}
|
||||
</span>
|
||||
</ds-text>
|
||||
<date-range
|
||||
<date-time-range
|
||||
class="event-info"
|
||||
:startDate="post.eventStart"
|
||||
:endDate="post.eventEnd"
|
||||
@ -156,7 +156,7 @@ import ContentViewer from '~/components/Editor/ContentViewer'
|
||||
import HcCategory from '~/components/Category'
|
||||
import HcHashtag from '~/components/Hashtag/Hashtag'
|
||||
import ContentMenu from '~/components/ContentMenu/ContentMenu'
|
||||
import DateRange from '~/components/DateRange/DateRange'
|
||||
import DateTimeRange from '~/components/DateTimeRange/DateTimeRange'
|
||||
import UserTeaser from '~/components/UserTeaser/UserTeaser'
|
||||
import HcShoutButton from '~/components/ShoutButton.vue'
|
||||
import CommentForm from '~/components/CommentForm/CommentForm'
|
||||
@ -184,7 +184,7 @@ export default {
|
||||
CommentForm,
|
||||
CommentList,
|
||||
ContentViewer,
|
||||
DateRange,
|
||||
DateTimeRange,
|
||||
HcCategory,
|
||||
HcHashtag,
|
||||
HcShoutButton,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user