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.
@@ -7,7 +7,6 @@ import ResumableJS from 'resumablejs';
7
7
  import { ReactNotifications, Store } from 'react-notifications-component';
8
8
  import 'react-notifications-component/dist/theme.css';
9
9
  import equal from 'deep-equal';
10
- import { TYPES as TYPES$1 } from 'ywana-core8';
11
10
 
12
11
  function _catch$2(body, recover) {
13
12
  try {
@@ -1777,11 +1776,13 @@ var StringCellViewer = function StringCellViewer(_ref7) {
1777
1776
 
1778
1777
  switch (format) {
1779
1778
  case FORMATS.DATE:
1780
- text = new Date(text).toLocaleString(locale, {
1779
+ var fecha = new Date(text).toLocaleString(locale, {
1781
1780
  year: 'numeric',
1782
1781
  month: 'numeric',
1783
1782
  day: 'numeric'
1784
1783
  });
1784
+ fecha.setMinutes(fecha.getMinutes() + fecha.getTimezoneOffset());
1785
+ text = fecha;
1785
1786
  break;
1786
1787
 
1787
1788
  case FORMATS.TIME:
@@ -5033,12 +5034,12 @@ var EntityViewer = function EntityViewer(props) {
5033
5034
  var QUERY = {
5034
5035
  id: {
5035
5036
  id: "id",
5036
- type: TYPES$1.STRING,
5037
+ type: TYPES.STRING,
5037
5038
  editable: false
5038
5039
  },
5039
5040
  name: {
5040
5041
  id: "name",
5041
- type: TYPES$1.STRING,
5042
+ type: TYPES.STRING,
5042
5043
  required: true,
5043
5044
  label: "Name"
5044
5045
  }