You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/03/24 07:01:13 UTC

[GitHub] [apisix] Gallardot opened a new pull request #6705: docs: FAQ add items for modifying the timezone

Gallardot opened a new pull request #6705:
URL: https://github.com/apache/apisix/pull/6705


   ### Description
   
   <!-- Please include a summary of the change and which issue is fixed. -->
   <!-- Please also include relevant motivation and context. -->
   ref https://github.com/apache/apisix-helm-chart/pull/232
   
   
   ### Checklist
   
   - [ ] I have explained the need for this PR and the problem it solves
   - [ ] I have explained the changes or the new features added to this PR
   - [ ] I have added tests corresponding to this change
   - [ ] I have updated the documentation to reflect this change
   - [ ] I have verified that this change is backward compatible (If not, please discuss on the [APISIX mailing list](https://github.com/apache/apisix/tree/master#community) first)
   
   <!--
   
   Note
   
   1. Mark the PR as draft until it's ready to be reviewed.
   2. Always add/update tests for any changes unless you have a good reason.
   3. Always update the documentation to reflect the changes made in the PR.
   4. Make a new commit to resolve conversations instead of `push -f`.
   5. To resolve merge conflicts, merge master instead of rebasing.
   6. Use "request review" to notify the reviewer after making changes.
   7. Only a reviewer can mark a conversation as resolved.
   
   -->
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] Gallardot commented on pull request #6705: docs: FAQ add items for modifying the timezone

Posted by GitBox <gi...@apache.org>.
Gallardot commented on pull request #6705:
URL: https://github.com/apache/apisix/pull/6705#issuecomment-1078688720


   > I am not sure we need to add this to FAQ for Apache APISIX
   
   @tokers PTAL.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] moonming commented on pull request #6705: docs: FAQ add items for modifying the timezone

Posted by GitBox <gi...@apache.org>.
moonming commented on pull request #6705:
URL: https://github.com/apache/apisix/pull/6705#issuecomment-1078511474


   the same as https://github.com/apache/apisix/issues/3039
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] Gallardot commented on a change in pull request #6705: docs: FAQ add items for modifying the timezone

Posted by GitBox <gi...@apache.org>.
Gallardot commented on a change in pull request #6705:
URL: https://github.com/apache/apisix/pull/6705#discussion_r834050304



##########
File path: docs/zh/latest/FAQ.md
##########
@@ -566,3 +566,24 @@ apisix:
 
  - 插件实例作用范围:`plugin-metadata` 作用于该插件的所有配置实例。`plugin-configs` 作用于其下配置的插件配置实例。
  - 绑定主体作用范围:`plugin-metadata` 作用于该插件的所有配置实例绑定的主体。`plugin-configs` 作用于绑定了该 `plugin-configs` 的路由。
+
+## 如何修改APISIX的时区
+
+你可能需要将 APISIX 的时区设置为与你本地时区一致,否则在检索 APISIX 日志的时候会得到不一致的时区的日志数据,特别在你使用 APISIX 日志插件的时候。

Review comment:
       > Hi, just to make sure: is it's necessary to use the same timezone as local? If yes, then please use `必须` or `应当` instead of `可能`.
   
   @juzhiyuan 
   I think it depends on the user's actual situation. After all, in the current APISIX Docker image, the default time zone is UTC, but our own scene needs to use the same timezone as local. To make it easier to view the logs.
   
   So I think `可能` is OK.
   
   




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] juzhiyuan commented on a change in pull request #6705: docs: FAQ add items for modifying the timezone

Posted by GitBox <gi...@apache.org>.
juzhiyuan commented on a change in pull request #6705:
URL: https://github.com/apache/apisix/pull/6705#discussion_r834009637



##########
File path: docs/zh/latest/FAQ.md
##########
@@ -566,3 +566,24 @@ apisix:
 
  - 插件实例作用范围:`plugin-metadata` 作用于该插件的所有配置实例。`plugin-configs` 作用于其下配置的插件配置实例。
  - 绑定主体作用范围:`plugin-metadata` 作用于该插件的所有配置实例绑定的主体。`plugin-configs` 作用于绑定了该 `plugin-configs` 的路由。
+
+## 如何修改APISIX的时区

Review comment:
       ```suggestion
   ## 如何修改 Apache APISIX 的时区
   ```

##########
File path: docs/zh/latest/FAQ.md
##########
@@ -566,3 +566,24 @@ apisix:
 
  - 插件实例作用范围:`plugin-metadata` 作用于该插件的所有配置实例。`plugin-configs` 作用于其下配置的插件配置实例。
  - 绑定主体作用范围:`plugin-metadata` 作用于该插件的所有配置实例绑定的主体。`plugin-configs` 作用于绑定了该 `plugin-configs` 的路由。
+
+## 如何修改APISIX的时区
+
+你可能需要将 APISIX 的时区设置为与你本地时区一致,否则在检索 APISIX 日志的时候会得到不一致的时区的日志数据,特别在你使用 APISIX 日志插件的时候。

Review comment:
       Hi, just to make sure: is it's necessary to use the same timezone as local? If yes, then please use `必须` or `应当` instead of `可能`.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] juzhiyuan commented on a change in pull request #6705: docs: FAQ add items for modifying the timezone

Posted by GitBox <gi...@apache.org>.
juzhiyuan commented on a change in pull request #6705:
URL: https://github.com/apache/apisix/pull/6705#discussion_r834080686



##########
File path: docs/zh/latest/FAQ.md
##########
@@ -566,3 +566,24 @@ apisix:
 
  - 插件实例作用范围:`plugin-metadata` 作用于该插件的所有配置实例。`plugin-configs` 作用于其下配置的插件配置实例。
  - 绑定主体作用范围:`plugin-metadata` 作用于该插件的所有配置实例绑定的主体。`plugin-configs` 作用于绑定了该 `plugin-configs` 的路由。
+
+## 如何修改APISIX的时区
+
+你可能需要将 APISIX 的时区设置为与你本地时区一致,否则在检索 APISIX 日志的时候会得到不一致的时区的日志数据,特别在你使用 APISIX 日志插件的时候。

Review comment:
       Just a little confusing for me, cc @bzp2010 to have a check. 😅




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] moonming commented on pull request #6705: docs: FAQ add items for modifying the timezone

Posted by GitBox <gi...@apache.org>.
moonming commented on pull request #6705:
URL: https://github.com/apache/apisix/pull/6705#issuecomment-1078511875


   I am not sure we need to add this to FAQ for Apache APISIX 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org