@itfin/components 1.2.29 → 1.2.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itfin/components",
3
- "version": "1.2.29",
3
+ "version": "1.2.30",
4
4
  "author": "Vitalii Savchuk <esvit666@gmail.com>",
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -192,7 +192,7 @@ class itfDatePicker extends Vue {
192
192
  }
193
193
 
194
194
  updateValue(value, emitEmpty = false) {
195
- const val = value && DateTime.fromFormat(value, this.displayFormat);
195
+ const val = value && DateTime.fromFormat(value, this.displayFormat, { zone: 'UTC' });
196
196
  if (!val || !val.isValid) {
197
197
  if (emitEmpty) {
198
198
  this.setValue(null);