Prepracovana prace s datem, lepsi input na datetime
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
import {useFlightsStore} from "stores/Flights";
|
||||
import {useRoute} from "vue-router";
|
||||
import {onMounted, reactive, ref} from "vue";
|
||||
import {formatDate, minutesToHumanReadable} from "src/composables/datetimeUtils";
|
||||
import {formatDatetime, minutesToHumanReadable} from "src/composables/datetimeUtils";
|
||||
import FlightDetailSkeleton from "components/flights/FlightDetailSkeleton.vue";
|
||||
import AddFAB from "components/AddFAB.vue";
|
||||
|
||||
@@ -27,13 +27,13 @@ onMounted(() => {
|
||||
<article v-html="flight.description" />
|
||||
|
||||
<q-icon name="calendar"/>
|
||||
{{ formatDate(flight.takeoffDatetime) }}
|
||||
{{ formatDatetime(flight.takeoffDatetime) }}
|
||||
{{ minutesToHumanReadable(flight.durationMinCalculated) }}
|
||||
|
||||
<!-- <q-icon name="weather"/>-->
|
||||
<!-- Clouds: few-->
|
||||
<!-- Wind: 220/12kt-->
|
||||
<!-- Temp: 12°C-->
|
||||
<!-- <q-icon name="weather"/>-->
|
||||
<!-- Clouds: few-->
|
||||
<!-- Wind: 220/12kt-->
|
||||
<!-- Temp: 12°C-->
|
||||
|
||||
|
||||
<AddFAB :router-link="{name: 'flightEdit', params:{id: flight.id}}" label="Upravit"/>
|
||||
|
||||
Reference in New Issue
Block a user