Skip to content
Snippets Groups Projects
Commit a3029739 authored by permcu's avatar permcu
Browse files

Reformat

parent 40429c8f
No related branches found
No related tags found
1 merge request!1704Handle min & max in DateTimeField
Pipeline #195646 failed
......@@ -104,11 +104,11 @@ export default {
minDT() {
return this.$parseISODate(this.min);
},
minDate(){
minDate() {
return this.minDT.toISODate();
},
minTime() {
if (this.dateTime.hasSame(this.minDT, 'day')) {
if (this.dateTime.hasSame(this.minDT, "day")) {
return this.minDT.toFormat("HH:mm");
} else {
return undefined;
......@@ -117,11 +117,11 @@ export default {
maxDT() {
return this.$parseISODate(this.max);
},
maxDate(){
maxDate() {
return this.maxDT.toISODate();
},
maxTime() {
if (this.dateTime.hasSame(this.maxDT, 'day')) {
if (this.dateTime.hasSame(this.maxDT, "day")) {
return this.maxDT.toFormat("HH:mm");
} else {
return undefined;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment