esoftplay 0.0.134-u → 0.0.134-v
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/bin/cli.js +2 -2
- package/package.json +1 -1
package/bin/cli.js
CHANGED
|
@@ -579,8 +579,8 @@ function publish(notes) {
|
|
|
579
579
|
let date_format_str;
|
|
580
580
|
if (isUpdateExist) {
|
|
581
581
|
currentUpdate = fs.readdirSync('/var/www/html/ota/updates/' + ajson.expo.runtimeVersion)[0]
|
|
582
|
-
var d = new Date(currentUpdate * 1000);
|
|
583
|
-
date_format_str = d
|
|
582
|
+
var d = new Date(currentUpdate * 1000).toISOString();
|
|
583
|
+
date_format_str = d
|
|
584
584
|
}
|
|
585
585
|
var out = false
|
|
586
586
|
const rl = readline.createInterface({
|