From b80f55bf5c49918d821c9349738d3a7d103c5222 Mon Sep 17 00:00:00 2001 From: undercloud Date: Wed, 14 Nov 2018 13:03:41 +0400 Subject: [PATCH] Update DatetimePopup.vue --- src/DatetimePopup.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DatetimePopup.vue b/src/DatetimePopup.vue index fd1e30e..8ded776 100644 --- a/src/DatetimePopup.vue +++ b/src/DatetimePopup.vue @@ -158,7 +158,7 @@ export default { return this.newDatetime.toLocaleString({ month: 'long', day: 'numeric' - }).substr(new String(this.day).length + 1) + }).substr(('' + this.day).length + 1) }, minDatetimeUTC () { return this.minDatetime ? this.minDatetime.toUTC() : null