[Bug]: AAA狗粮批发-国际服时区错乱

Open
#2,727 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
42/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript
Domain
tooling

Research direction

Start with main.js in the AAA-Artifacts-Bulk-Supply script and inspect how the A/B route decision obtains the current date or time zone. Compare that logic with BetterGI's configured server time zone setting. Done means runs from Pacific time select the same expected route as runs using the configured server time, including across an evening-to-morning boundary.

Written by the indexing model from the issue text.

Description

bug
BetterGI 版本 (必填)

0.55

脚本名称 (必填)

AAA-Artifacts-Bulk-Supply

问题描述 (必填)

我在太平洋时区U-8。早上跟午后运行脚本会导致走的路线不一样。一个不符合期待的结果为:前一天晚上跑了A线,第二天早上还会跑A线。

从main.js看起来应该是判断AB线的逻辑是基于Asia/Shanghai时区,而不是bgi设置里的服务器时间(设置-其他设置-服务器时区设置)。

复现步骤 (可选)

No response

日志文件或录屏 (可选)

No response

其他信息 (可选)

No response

Dominant language
JavaScript
Stars
793
Forks
505
Avg merge
1d 12h
Merged PRs (30d)
68

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from babalae/bettergi-scripts-list

All issues in babalae/bettergi-scripts-list

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.