dsh-aupdate 0.4.0 → 0.4.1
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/client.js +1 -1
- package/index.js +3 -1
- package/package.json +1 -1
package/client.js
CHANGED
|
@@ -751,7 +751,7 @@ window.__ModuleLoader__.load({
|
|
|
751
751
|
? h('span', { style: S.status }, T.logsEmpty)
|
|
752
752
|
: h('pre', { style: S.logBox, title: data?.path || '' },
|
|
753
753
|
rows.map((row, index) => h('div', { key: index },
|
|
754
|
-
row.at ? h('span', { style: S.logTime }, row.at
|
|
754
|
+
row.at ? h('span', { style: S.logTime }, formatWhen(row.at) + ' ') : null,
|
|
755
755
|
h('span', { style: S.logText }, row.text),
|
|
756
756
|
)),
|
|
757
757
|
),
|
package/index.js
CHANGED
|
@@ -1218,7 +1218,9 @@ async function runCycle(mode, ctxRef) {
|
|
|
1218
1218
|
name: dep.name,
|
|
1219
1219
|
current,
|
|
1220
1220
|
target,
|
|
1221
|
-
|
|
1221
|
+
// 这里是服务端拼的纯文本,拿不到浏览器时区,所以显式写 UTC,
|
|
1222
|
+
// 免得把一个 UTC 时刻当成本地时间读。
|
|
1223
|
+
why: '上次安装失败,' + until.toISOString().slice(0, 16).replace('T', ' ') + ' UTC 前不再重试',
|
|
1222
1224
|
}
|
|
1223
1225
|
}
|
|
1224
1226
|
return { name: dep.name, current, target, tag }
|