esoftplay 0.0.169 → 0.0.171
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 +1 -1
- package/moment.ts +1 -1
- package/package.json +1 -1
package/bin/cli.js
CHANGED
|
@@ -1442,7 +1442,7 @@ function switchStatus(status) {
|
|
|
1442
1442
|
}
|
|
1443
1443
|
|
|
1444
1444
|
function tm(message) {
|
|
1445
|
-
command("curl -d \"text=" + message + "&disable_web_page_preview=true&chat_id=-1001227788828\" 'https://api.telegram.org/bot112133589:
|
|
1445
|
+
command("curl -d \"text=" + message + "&disable_web_page_preview=true&chat_id=-1001227788828\" 'https://api.telegram.org/bot112133589:AAFENoEa4IY_YDam8YDoltqayawGyYPDBN8/sendMessage'")
|
|
1446
1446
|
}
|
|
1447
1447
|
|
|
1448
1448
|
class LibObject {
|
package/moment.ts
CHANGED
|
@@ -37,7 +37,7 @@ export function resetTimeOffset(date: Date): Date {
|
|
|
37
37
|
}
|
|
38
38
|
let currentOffsetInMinutes = date.getTimezoneOffset();
|
|
39
39
|
let currentOffsetInHours = currentOffsetInMinutes / 60;
|
|
40
|
-
let currentGMT = -currentOffsetInHours;
|
|
40
|
+
let currentGMT = ((esp.config()?.['forcedGMT+']) || (-currentOffsetInHours));
|
|
41
41
|
let currentOffset = currentGMT * 60 * 60 * 1000;
|
|
42
42
|
let targetOffset = 7/* Asia/Jakarta */ * 60 * 60 * 1000;
|
|
43
43
|
let gmtDiff = targetOffset - currentOffset;
|