@monoui/vuejs 1.1.59 → 1.1.60

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": "@monoui/vuejs",
3
- "version": "1.1.59",
3
+ "version": "1.1.60",
4
4
  "description": "This project will contain MonoFor UI Framework",
5
5
  "main": "./dist/main.js",
6
6
  "repository": "git@gitlab.com:monoui/vuejs.git",
@@ -97,8 +97,13 @@ export default {
97
97
  let date2 = moment(this.value[1]).toDate();
98
98
  return [date1, date2];
99
99
  } else {
100
- let date = moment(this.value).toDate();
101
- return date;
100
+ if (this.isUTC) {
101
+ let date = moment.utc(this.value).toDate();
102
+ return date;
103
+ } else {
104
+ let date = moment(this.value).toDate();
105
+ return date;
106
+ }
102
107
  }
103
108
  },
104
109
  set: function(value) {
@@ -258,6 +263,11 @@ export default {
258
263
  * shortcuts.
259
264
  * Allows to determine shortcuts when shortcutsEnable property is true
260
265
  */
266
+ isUTC: {
267
+ type: Boolean,
268
+ required: false,
269
+ default: false
270
+ },
261
271
  shortcuts: {
262
272
  type: Array,
263
273
  default: () => {