mediacube-ui 0.1.142 → 0.1.143

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/CHANGELOG.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [0.1.143](https://github.com/MediaCubeCo/mcui/compare/v0.1.142...v0.1.143) (2023-09-14)
6
+
5
7
  ### [0.1.142](https://github.com/MediaCubeCo/mcui/compare/v0.1.141...v0.1.142) (2023-09-13)
6
8
 
7
9
  ### [0.1.141](https://github.com/MediaCubeCo/mcui/compare/v0.1.140...v0.1.141) (2023-09-13)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mediacube-ui",
3
- "version": "0.1.142",
3
+ "version": "0.1.143",
4
4
  "description": "Design system for Mediacube services",
5
5
  "author": "Mediacube",
6
6
  "private": false,
@@ -392,7 +392,7 @@ export default {
392
392
  : new Date()
393
393
  }
394
394
  const formattingDate = date =>
395
- this.$dayjs.tz(this.$dayjs.utc(date, 'YYYY-MM-DD HH:mm:SS'), this.currentTimezone).format(this.format)
395
+ this.$dayjs.tz(this.$dayjs.utc(date, 'YYYY-MM-DD HH:mm:ss'), this.currentTimezone).format(this.format)
396
396
  if (this.isRange && this.value) {
397
397
  const [start_date, end_date] = this.value
398
398
  const prepared_value = [
@@ -435,7 +435,7 @@ export default {
435
435
  }
436
436
  return value?.toString?.().trim()
437
437
  ? this.isTime
438
- ? this.$dayjs.utc(value)
438
+ ? value
439
439
  : this.$dayjs(value).format(this.toFormat)
440
440
  : ' '
441
441
  }
@@ -443,7 +443,7 @@ export default {
443
443
  const hasDate = date => date && date?.trim()?.length
444
444
  const formatingDate = date =>
445
445
  this.$dayjs
446
- .tz(this.$dayjs(date, this.format), this.currentTimezone)
446
+ .tz(this.$dayjs(date, this.format).format('YYYY-MM-DD HH:mm:ss'), this.currentTimezone)
447
447
  .utc()
448
448
  .format()
449
449
  if (Array.isArray(newValue)) {