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 +5 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +5 -4
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +9 -7
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/TablePage.js +0 -1
- package/src/domain/squema.js +1 -1
- package/src/html/table.js +7 -10
package/dist/index.modern.js
CHANGED
@@ -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
|
-
|
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
|
5037
|
+
type: TYPES.STRING,
|
5037
5038
|
editable: false
|
5038
5039
|
},
|
5039
5040
|
name: {
|
5040
5041
|
id: "name",
|
5041
|
-
type: TYPES
|
5042
|
+
type: TYPES.STRING,
|
5042
5043
|
required: true,
|
5043
5044
|
label: "Name"
|
5044
5045
|
}
|