diff --git a/components/ConfigurationsSelectedItem.vue b/components/ConfigurationsSelectedItem.vue index e71f5e6bfdf1bc99aedc8da391d2f2734ad92ec3..daf4193017a9d1930a048a1776796b5bd6af420c 100644 --- a/components/ConfigurationsSelectedItem.vue +++ b/components/ConfigurationsSelectedItem.vue @@ -70,6 +70,7 @@ permissions and limitations under the Licence. <v-col> <label>Mounted:</label> {{ value.unpack().date | dateToDateTimeString }} + <span class="text-caption text--secondary">(UTC)</span> </v-col> </v-row> <v-row> @@ -194,6 +195,7 @@ permissions and limitations under the Licence. <v-list-item-content> <v-list-item-title> Update for {{ value.unpack().date | dateToDateTimeStringHHMM }} + <span class="text-caption text--secondary">(UTC)</span> </v-list-item-title> </v-list-item-content> </v-list-item> @@ -204,6 +206,7 @@ permissions and limitations under the Licence. <v-list-item-content> <v-list-item-title> Update for {{ selectedDate | dateToDateTimeStringHHMM }} + <span class="text-caption text--secondary">(UTC)</span> </v-list-item-title> </v-list-item-content> </v-list-item> diff --git a/components/DateTimePicker.vue b/components/DateTimePicker.vue index a9c633b264664b089589166bb7e6cd45ea8a2ef3..4d0a143527e7591744056932d3f4d7be2e1c8f4f 100644 --- a/components/DateTimePicker.vue +++ b/components/DateTimePicker.vue @@ -34,6 +34,8 @@ permissions and limitations under the Licence. :value="valueAsDateTimeString" :label="label" :rules="textInputRules" + hint="The referenced time zone is UTC." + persistent-hint v-bind="$attrs" @input="updateByTextfield" > @@ -77,6 +79,9 @@ permissions and limitations under the Licence. class="height-adjustment" @input="setTimePickerValue" /> + <p class="text-caption"> + The referenced time zone is UTC. + </p> </v-tab-item> </v-tabs> </v-card-text> diff --git a/components/actions/DeviceCalibrationActionCard.vue b/components/actions/DeviceCalibrationActionCard.vue index 2738455e860459b928d518f1e1a45c5d662eed7c..01131cc614a51ffaa546c30352412135aff68f80 100644 --- a/components/actions/DeviceCalibrationActionCard.vue +++ b/components/actions/DeviceCalibrationActionCard.vue @@ -34,6 +34,7 @@ permissions and limitations under the Licence. <v-row no-gutters> <v-col> {{ value.currentCalibrationDate | toUtcDate }} + <span class="text-caption text--secondary">(UTC)</span> </v-col> <v-col align-self="end" @@ -94,6 +95,7 @@ permissions and limitations under the Licence. Next calibration date </label> {{ value.nextCalibrationDate | toUtcDate }} + <span class="text-caption text--secondary">(UTC)</span> </v-col> </v-row> <div v-if="value.measuredQuantities && value.measuredQuantities.length > 0"> diff --git a/components/actions/DeviceMountActionCard.vue b/components/actions/DeviceMountActionCard.vue index 248f68ab5f9b4be67942c068bcd160c18d1c61e4..ad027e30ac1721ecbb4e40fa95a32cf50a4e359c 100644 --- a/components/actions/DeviceMountActionCard.vue +++ b/components/actions/DeviceMountActionCard.vue @@ -34,6 +34,7 @@ permissions and limitations under the Licence. <v-row no-gutters> <v-col> {{ value.basicData.date | toUtcDate }} + <span class="text-caption text--secondary">(UTC)</span> </v-col> <v-col align-self="end" diff --git a/components/actions/DeviceUnmountActionCard.vue b/components/actions/DeviceUnmountActionCard.vue index dc6659ca2382d14ede8157215c85b9bf4fe03483..9e8496c1ca071b7b2d63b816ce1c709120d0b6fe 100644 --- a/components/actions/DeviceUnmountActionCard.vue +++ b/components/actions/DeviceUnmountActionCard.vue @@ -34,6 +34,7 @@ permissions and limitations under the Licence. <v-row no-gutters> <v-col> {{ value.basicData.date | toUtcDate }} + <span class="text-caption text--secondary">(UTC)</span> </v-col> <v-col align-self="end" diff --git a/components/actions/GenericActionCard.vue b/components/actions/GenericActionCard.vue index 56e97596155ec7e1adc50c3d06ba5364142f6558..435d446e70bf0c6b03e56d4f76d7cc902b2c1f09 100644 --- a/components/actions/GenericActionCard.vue +++ b/components/actions/GenericActionCard.vue @@ -34,6 +34,7 @@ permissions and limitations under the Licence. <v-row no-gutters> <v-col> {{ actionDate }} + <span class="text-caption text--secondary">(UTC)</span> </v-col> <v-col align-self="end" diff --git a/components/actions/PlatformMountActionCard.vue b/components/actions/PlatformMountActionCard.vue index 1e23b3a8b2863fcd52a0c51ae2cac0307d7c1eff..ffbb53aa6aa8ef8413318fb3e788d91eed83c21a 100644 --- a/components/actions/PlatformMountActionCard.vue +++ b/components/actions/PlatformMountActionCard.vue @@ -34,6 +34,7 @@ permissions and limitations under the Licence. <v-row no-gutters> <v-col> {{ value.basicData.date | dateToDateTimeString }} + <span class="text-caption text--secondary">(UTC)</span> </v-col> <v-col align-self="end" diff --git a/components/actions/PlatformUnmountActionCard.vue b/components/actions/PlatformUnmountActionCard.vue index bb60ff998f9f3de19acfad4630d09d01183002e1..f6463220b0413e26a5d64adbd411be361321112b 100644 --- a/components/actions/PlatformUnmountActionCard.vue +++ b/components/actions/PlatformUnmountActionCard.vue @@ -34,6 +34,7 @@ permissions and limitations under the Licence. <v-row no-gutters> <v-col> {{ value.basicData.date | dateToDateTimeString }} + <span class="text-caption text--secondary">(UTC)</span> </v-col> <v-col align-self="end" diff --git a/components/actions/SoftwareUpdateActionCard.vue b/components/actions/SoftwareUpdateActionCard.vue index c463e52a5ee44c7f6b10e9036ed91477519d60c2..90794b16d221f707cc75b79e347d33b9c86b842b 100644 --- a/components/actions/SoftwareUpdateActionCard.vue +++ b/components/actions/SoftwareUpdateActionCard.vue @@ -34,6 +34,7 @@ permissions and limitations under the Licence. <v-row no-gutters> <v-col> {{ value.updateDate | toUtcDate }} + <span class="text-caption text--secondary">(UTC)</span> </v-col> <v-col align-self="end" diff --git a/components/configurations/ConfigurationDynamicLocationBeginActionData.vue b/components/configurations/ConfigurationDynamicLocationBeginActionData.vue index 8f7dd0a606f9c6518ef5c9c10fbbbbc6b8eaa260..1187b53be7dd690546c1fa7f0d51586bdfa9ee8c 100644 --- a/components/configurations/ConfigurationDynamicLocationBeginActionData.vue +++ b/components/configurations/ConfigurationDynamicLocationBeginActionData.vue @@ -35,6 +35,7 @@ permissions and limitations under the Licence. <v-col> <label>Begin date</label> {{ value.beginDate | dateToDateTimeStringHHMM }} + <span class="text-caption text--secondary">(UTC)</span> </v-col> </v-row> <v-row> diff --git a/components/configurations/ConfigurationDynamicLocationEndActionData.vue b/components/configurations/ConfigurationDynamicLocationEndActionData.vue index a69525b8493583ae17c42cfa7707b5e8cb107a84..a2c5a7c4baae6f30bdbbf315dc5b78a66f465c8b 100644 --- a/components/configurations/ConfigurationDynamicLocationEndActionData.vue +++ b/components/configurations/ConfigurationDynamicLocationEndActionData.vue @@ -35,6 +35,7 @@ permissions and limitations under the Licence. <v-col> <label>End date</label> {{ value.endDate | dateToDateTimeStringHHMM }} + <span class="text-caption text--secondary">(UTC)</span> </v-col> </v-row> <v-row> diff --git a/components/configurations/ConfigurationStaticLocationBeginActionData.vue b/components/configurations/ConfigurationStaticLocationBeginActionData.vue index 1ad541596442ef8955db1589fea3f0b6a398bdf0..2049f8e4955dd3412446561a788070a74e5b4646 100644 --- a/components/configurations/ConfigurationStaticLocationBeginActionData.vue +++ b/components/configurations/ConfigurationStaticLocationBeginActionData.vue @@ -34,6 +34,7 @@ permissions and limitations under the Licence. <v-col> <label>Begin date</label> {{ value.beginDate | dateToDateTimeStringHHMM }} + <span class="text-caption text--secondary">(UTC)</span> </v-col> </v-row> <v-row> diff --git a/components/configurations/ConfigurationStaticLocationEndActionData.vue b/components/configurations/ConfigurationStaticLocationEndActionData.vue index e9cf8a8e7c558329f671e814596f66539be0e5b8..de0e1abe33be8c845e51ad7da2f52b39fc44f18e 100644 --- a/components/configurations/ConfigurationStaticLocationEndActionData.vue +++ b/components/configurations/ConfigurationStaticLocationEndActionData.vue @@ -34,6 +34,7 @@ permissions and limitations under the Licence. <v-col> <label>End date</label> {{ value.endDate | dateToDateTimeStringHHMM }} + <span class="text-caption text--secondary">(UTC)</span> </v-col> </v-row> <v-row> diff --git a/components/configurations/ConfigurationsBasicData.vue b/components/configurations/ConfigurationsBasicData.vue index 5a195665cb983d2e6c617e33d4b64b940706ac5d..008dc5c7ae5407c820beb869b01650422a86cae6 100644 --- a/components/configurations/ConfigurationsBasicData.vue +++ b/components/configurations/ConfigurationsBasicData.vue @@ -53,12 +53,14 @@ permissions and limitations under the Licence. <label>Start date</label> <span v-if="value.startDate"> {{ value.startDate | dateToDateTimeString }} + <span class="text-caption text--secondary">(UTC)</span> </span> </v-col> <v-col cols="12" md="3"> <label>End date</label> <span v-if="value.endDate"> {{ value.endDate | dateToDateTimeString }} + <span class="text-caption text--secondary">(UTC)</span> </span> </v-col> </v-row> diff --git a/components/configurations/ConfigurationsOverviewCard.vue b/components/configurations/ConfigurationsOverviewCard.vue index dc6b3ab326de647b76f6afcb9a59cabe9498ff8a..cfeced0945ebd3d652a7aa3d670ac854ee805242 100644 --- a/components/configurations/ConfigurationsOverviewCard.vue +++ b/components/configurations/ConfigurationsOverviewCard.vue @@ -165,6 +165,12 @@ permissions and limitations under the Licence. class="nowrap-truncate" > {{ configuration.startDate | dateToDateTimeString }} + <span + v-if="configuration.startDate" + class="text-caption text--secondary" + > + (UTC) + </span> </v-col> <v-col cols="4" @@ -187,6 +193,12 @@ permissions and limitations under the Licence. class="nowrap-truncate" > {{ configuration.endDate | dateToDateTimeString }} + <span + v-if="configuration.endDate" + class="text-caption text--secondary" + > + (UTC) + </span> </v-col> </v-row> </v-card-text> diff --git a/components/configurations/ConfigurationsTimelineActionCard.vue b/components/configurations/ConfigurationsTimelineActionCard.vue index 2c821f43ad59ef23f8543abed7441e06e49e7f38..88e67aaf11cf33f49c4a02a73efdbc8765a9e3e1 100644 --- a/components/configurations/ConfigurationsTimelineActionCard.vue +++ b/components/configurations/ConfigurationsTimelineActionCard.vue @@ -41,6 +41,7 @@ permissions and limitations under the Licence. <v-col cols="12"> <v-card-subtitle class="pb-0"> {{ action.date | dateToDateTimeString }} + <span class="text-caption text--secondary">(UTC)</span> </v-card-subtitle> </v-col> </v-row> diff --git a/pages/configurations/_id/actions.vue b/pages/configurations/_id/actions.vue index 19fbb0e1a024db8680d464b5d25e889b14379d09..81143de0bd3c1e2ef728c13eedde92cab67ed985 100644 --- a/pages/configurations/_id/actions.vue +++ b/pages/configurations/_id/actions.vue @@ -77,15 +77,11 @@ import { } from '@/utils/configurationInterfaces' import { byDateOldestLast } from '@/modelUtils/mountHelpers' -import { dateToDateTimeString } from '@/utils/dateHelper' import ConfigurationsTimelineActionCard from '@/components/configurations/ConfigurationsTimelineActionCard.vue' @Component({ - components: { ConfigurationsTimelineActionCard }, - filters: { - dateToDateTimeString - } + components: { ConfigurationsTimelineActionCard } }) export default class ConfigurationActions extends Vue { @Prop({ diff --git a/pages/configurations/_id/locations.vue b/pages/configurations/_id/locations.vue index df3123f6ce8747fc09db805be83f780f763c1762..a8c5ae6b2ed60b413268101225c07158bdf58ab8 100644 --- a/pages/configurations/_id/locations.vue +++ b/pages/configurations/_id/locations.vue @@ -61,6 +61,8 @@ permissions and limitations under the Licence. label="Dates defined by actions" :readonly="isInEditMode" :disabled="isInEditMode" + hint="The referenced time zone is UTC." + persistent-hint /> </v-col> </v-row> diff --git a/pages/configurations/_id/platforms-and-devices.vue b/pages/configurations/_id/platforms-and-devices.vue index 059b90779adf9c472e437e6ef9e08155b27a2926..98d545fd8c171b9929f2cfcfcf9eb1cc73d9ee72 100644 --- a/pages/configurations/_id/platforms-and-devices.vue +++ b/pages/configurations/_id/platforms-and-devices.vue @@ -53,6 +53,8 @@ permissions and limitations under the Licence. :item-text="(x) => x.text" :items="actionDates" label="Dates defined by actions" + hint="The referenced time zone is UTC." + persistent-hint /> </v-col> </v-row>