|
@@ -1,7 +1,7 @@
|
|
|
<script lang="ts" setup>
|
|
<script lang="ts" setup>
|
|
|
import { useRouter } from 'vue-router'
|
|
import { useRouter } from 'vue-router'
|
|
|
import dayjs from 'dayjs'
|
|
import dayjs from 'dayjs'
|
|
|
-import { formatTimezone } from '@/utils/tools'
|
|
|
|
|
|
|
+import { formatTimezoneByUTCorGMT } from '@/utils/tools'
|
|
|
|
|
|
|
|
const router = useRouter()
|
|
const router = useRouter()
|
|
|
interface RecentItem {
|
|
interface RecentItem {
|
|
@@ -124,7 +124,7 @@ const RouteToDetail = (val: any) => {
|
|
|
<VTag :type="item.type" style="margin-bottom: 4px">{{ item.type }}</VTag>
|
|
<VTag :type="item.type" style="margin-bottom: 4px">{{ item.type }}</VTag>
|
|
|
<div class="right_text">{{ item.Arrived }}</div>
|
|
<div class="right_text">{{ item.Arrived }}</div>
|
|
|
<div class="startStation_time" v-if="item.Time != null">
|
|
<div class="startStation_time" v-if="item.Time != null">
|
|
|
- {{ formatTimezone(item.Time, item.timezone) }} {{ item.timezone }}
|
|
|
|
|
|
|
+ {{ formatTimezoneByUTCorGMT(item.Time, item.timezone) }} {{ item.timezone }}
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
@@ -255,4 +255,4 @@ const RouteToDetail = (val: any) => {
|
|
|
.right_text {
|
|
.right_text {
|
|
|
font-size: var(--font-size-2);
|
|
font-size: var(--font-size-2);
|
|
|
}
|
|
}
|
|
|
-</style>
|
|
|
|
|
|
|
+</style>
|