We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e136d0a commit 4bf1cc1Copy full SHA for 4bf1cc1
ui/src/utils/date.js
@@ -17,8 +17,10 @@
17
import store from '@/store'
18
19
import dayjs from 'dayjs'
20
+import utc from 'dayjs/plugin/utc'
21
import isToday from 'dayjs/plugin/isToday'
22
23
+dayjs.extend(utc)
24
dayjs.extend(isToday)
25
26
export function parseDayJsObject ({ value, format }) {
ui/src/views/plugins/quota/EditQuotaTariff.vue
@@ -159,7 +159,7 @@ export default {
159
})
160
},
161
disabledEndDate (current) {
162
- return current < dayjs(this.resource.effectiveDate).startOf('day')
+ return current < dayjs.utc(this.resource.effectiveDate).startOf('day')
163
}
164
165
0 commit comments