aurelia-bootstrap-datetimepicker
Advanced tools
Comparing version 1.3.6 to 1.3.7
@@ -210,3 +210,3 @@ define(['exports', 'aurelia-framework', 'moment', 'jquery', './picker-global-options', 'eonasdan-bootstrap-datetimepicker'], function (exports, _aureliaFramework, _moment, _jquery, _pickerGlobalOptions) { | ||
if (!this.value) { | ||
this.value = (0, _moment2.default)(value, this._format, true); | ||
this.value = (0, _moment2.default)(value, this._format, true).format(this._format); | ||
} | ||
@@ -213,0 +213,0 @@ } |
@@ -211,3 +211,3 @@ 'use strict'; | ||
if (!this.value) { | ||
this.value = (0, _moment2.default)(value, this._format, true); | ||
this.value = (0, _moment2.default)(value, this._format, true).format(this._format); | ||
} | ||
@@ -214,0 +214,0 @@ } |
@@ -185,3 +185,3 @@ var _dec, _dec2, _dec3, _dec4, _class, _desc, _value, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15; | ||
if (!this.value) { | ||
this.value = moment(value, this._format, true); | ||
this.value = moment(value, this._format, true).format(this._format); | ||
} | ||
@@ -188,0 +188,0 @@ } |
@@ -212,3 +212,3 @@ 'use strict'; | ||
if (!this.value) { | ||
this.value = moment(value, this._format, true); | ||
this.value = moment(value, this._format, true).format(this._format); | ||
} | ||
@@ -215,0 +215,0 @@ } |
{ | ||
"name": "aurelia-bootstrap-datetimepicker", | ||
"version": "1.3.6", | ||
"version": "1.3.7", | ||
"description": "An Aurelia Custom Element for the 3rd party addon [Eonasdan Bootstrap Datepicker]", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -149,3 +149,3 @@ import {inject, bindable, bindingMode, DOM} from 'aurelia-framework'; | ||
if (!this.value) { | ||
this.value = moment(value, this._format, true); | ||
this.value = moment(value, this._format, true).format(this._format); | ||
} | ||
@@ -152,0 +152,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
116187