alsmanager_lib 1.0.67 → 1.0.68
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/modules.js +2 -1
- package/package.json +1 -1
package/lib/modules.js
CHANGED
|
@@ -7896,6 +7896,7 @@ function getPackageJsVersion() {
|
|
|
7896
7896
|
function exportDBSQLSQLite(db_path, dump_path, dump_source, dump_date) {
|
|
7897
7897
|
var datestring = "";
|
|
7898
7898
|
if (!dump_date) {
|
|
7899
|
+
var d = new Date();
|
|
7899
7900
|
datestring = d.getFullYear() + ("0" + d.getDate()).slice(-2) + ("0"+(d.getMonth()+1)).slice(-2) +
|
|
7900
7901
|
"_" + ("0" + d.getHours()).slice(-2) + ":" + ("0" + d.getMinutes()).slice(-2);
|
|
7901
7902
|
}
|
|
@@ -7921,7 +7922,7 @@ function exportDBSQLSQLite(db_path, dump_path, dump_source, dump_date) {
|
|
|
7921
7922
|
}
|
|
7922
7923
|
});
|
|
7923
7924
|
|
|
7924
|
-
return
|
|
7925
|
+
return cmd;
|
|
7925
7926
|
}
|
|
7926
7927
|
function exportDBSQLMySQL(db_path, dump_path, dump_source, dump_date) {
|
|
7927
7928
|
|