Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: use api v2 #91

Draft
wants to merge 8 commits into
base: dev
Choose a base branch
from
Draft

refactor: use api v2 #91

wants to merge 8 commits into from

Conversation

Serein207
Copy link
Member

@Serein207 Serein207 commented Oct 19, 2024

@Serein207 Serein207 added the feature New feature or request label Oct 19, 2024
@Serein207 Serein207 changed the base branch from main to dev October 19, 2024 13:37
Copy link

clang-tidy review says "All clean, LGTM! 👍"

@Serein207 Serein207 linked an issue Oct 19, 2024 that may be closed by this pull request
@Serein207 Serein207 force-pushed the refactor/api-v2 branch 3 times, most recently from 2ea137f to 4e309f7 Compare October 20, 2024 04:46
Copy link

clang-tidy review says "All clean, LGTM! 👍"

3 similar comments
Copy link

clang-tidy review says "All clean, LGTM! 👍"

Copy link

clang-tidy review says "All clean, LGTM! 👍"

Copy link

clang-tidy review says "All clean, LGTM! 👍"

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clang-tidy made some suggestions

src/Infrastructure/IPC/SocketClient.cc Show resolved Hide resolved
src/Infrastructure/IPC/SocketClient.cc Show resolved Hide resolved
@@ -34,16 +34,15 @@ inline time_t parseIso8601Utc(const char* date) {
struct tm tt = {0};
double seconds;
if (sscanf(date,
"%04d-%02d-%02dT%02d:%02d:%lfZ",
"%04d-%02d-%02dT%02d:%02d:%02d",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. 按照标准,秒部分可能带小数(当然因为后端固定所以这个不考虑也问题不大
  2. 末尾的 Z 是 UTC 时区的标志,如果服务器返回的数据不带 Z 的话,那可能需要重新检查并额外约定时区(Apifox 里面有写吗?

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clang-tidy made some suggestions

src/Infrastructure/IPC/SocketClient.cc Show resolved Hide resolved
src/Infrastructure/IPC/SocketClient.cc Show resolved Hide resolved
Copy link

clang-tidy review says "All clean, LGTM! 👍"

Copy link

clang-tidy review says "All clean, LGTM! 👍"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants