alsmanager_lib 2.0.63 → 2.0.64

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.
Files changed (2) hide show
  1. package/lib/modules.js +1 -1
  2. package/package.json +1 -1
package/lib/modules.js CHANGED
@@ -5108,7 +5108,7 @@ function selectTabellaInventarioByName(db_used, tab_name) {
5108
5108
 
5109
5109
  function queryCloseGestioneDeviceSQLite(id_gestione) {
5110
5110
  var query = "update device_gestioni ";
5111
- query += "set date_end = date('now' - 1 day) ";
5111
+ query += "set date_end = date('now', '-1 day') ";
5112
5112
  query += "where id = " + id_gestione + " ";
5113
5113
  query += "and date_start < date('now')";
5114
5114
  return query;
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  ".": "./lib/modules.js",
5
5
  "./dbconn": "./lib/dbconn.js"
6
6
  },
7
- "version": "2.0.63",
7
+ "version": "2.0.64",
8
8
  "description": "Funzioni per ALSManager",
9
9
  "license": "ISC",
10
10
  "author": "Luca Cattani",