ywana-core8 0.0.333 → 0.0.336

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/dist/index.cjs CHANGED
@@ -7,7 +7,6 @@ var ResumableJS = require('resumablejs');
7
7
  var reactNotificationsComponent = require('react-notifications-component');
8
8
  require('react-notifications-component/dist/theme.css');
9
9
  var equal = require('deep-equal');
10
- var ywanaCore8 = require('ywana-core8');
11
10
 
12
11
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
13
12
 
@@ -1785,11 +1784,13 @@ var StringCellViewer = function StringCellViewer(_ref7) {
1785
1784
 
1786
1785
  switch (format) {
1787
1786
  case FORMATS.DATE:
1788
- text = new Date(text).toLocaleString(locale, {
1787
+ var fecha = new Date(text).toLocaleString(locale, {
1789
1788
  year: 'numeric',
1790
1789
  month: 'numeric',
1791
1790
  day: 'numeric'
1792
1791
  });
1792
+ fecha.setMinutes(fecha.getMinutes() + fecha.getTimezoneOffset());
1793
+ text = fecha;
1793
1794
  break;
1794
1795
 
1795
1796
  case FORMATS.TIME:
@@ -5041,12 +5042,12 @@ var EntityViewer = function EntityViewer(props) {
5041
5042
  var QUERY = {
5042
5043
  id: {
5043
5044
  id: "id",
5044
- type: ywanaCore8.TYPES.STRING,
5045
+ type: TYPES.STRING,
5045
5046
  editable: false
5046
5047
  },
5047
5048
  name: {
5048
5049
  id: "name",
5049
- type: ywanaCore8.TYPES.STRING,
5050
+ type: TYPES.STRING,
5050
5051
  required: true,
5051
5052
  label: "Name"
5052
5053
  }