This commit is contained in:
@@ -54,9 +54,10 @@
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
/* xxeslint-disable */
|
||||
/* eslint-disable */
|
||||
export default {
|
||||
beforeCreate() {
|
||||
|
||||
//check pre-requisites exist just in case
|
||||
if (this.$gzdevmode()) {
|
||||
if (!this.$dayjs) {
|
||||
@@ -106,6 +107,7 @@ export default {
|
||||
: "";
|
||||
},
|
||||
formatDate() {
|
||||
|
||||
return this.value
|
||||
? this.$dayjs
|
||||
.utc(this.value)
|
||||
@@ -122,7 +124,9 @@ export default {
|
||||
: "";
|
||||
},
|
||||
dateOnly: {
|
||||
|
||||
get() {
|
||||
|
||||
return this.$dayjs
|
||||
.utc(this.value)
|
||||
.add(this.$gzlocale.format().timeZoneOffset, "hour")
|
||||
|
||||
Reference in New Issue
Block a user