zet-lib 1.2.33 → 1.2.35

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/lib/zAppRouter.js CHANGED
@@ -18,6 +18,7 @@ const io = require('./io')
18
18
  const Mail = require('./Mail')
19
19
  const zCache = require('./zCache')
20
20
  const pm2 = require('pm2')
21
+ const zFunction = require('./zFunction')
21
22
 
22
23
  /*
23
24
  ajax Post
package/lib/zRoute.js CHANGED
@@ -911,7 +911,7 @@ zRoute.dataTableData = (key, value, MYMODEL, relations) => {
911
911
  break
912
912
 
913
913
  case 'datepicker':
914
- myvalue = Util.dateFormat(moment(value).utc(false), MYMODEL.widgets[key].format)
914
+ myvalue = Util.dateFormat(value, MYMODEL.widgets[key].format)
915
915
  break
916
916
 
917
917
  case 'number':
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zet-lib",
3
- "version": "1.2.33",
3
+ "version": "1.2.35",
4
4
  "description": "zet is a library that part of zet generator.",
5
5
  "engines": {
6
6
  "node": ">=18"