- 
                Notifications
    You must be signed in to change notification settings 
- Fork 54
Option for local timezone timestamps #4520
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
base: v3.x/staging
Are you sure you want to change the base?
Conversation
Signed-off-by: 1000TurquoisePogs <[email protected]>
Signed-off-by: 1000TurquoisePogs <[email protected]>
Signed-off-by: 1000TurquoisePogs <[email protected]>
Signed-off-by: 1000TurquoisePogs <[email protected]>
Signed-off-by: 1000TurquoisePogs <[email protected]>
| build 8777 FAILED. | 
Signed-off-by: 1000TurquoisePogs <[email protected]>
| build 8778 FAILED. | 
| build 8779 FAILED. | 
| build 8784 FAILED. | 
| build 8827 FAILED. | 
Signed-off-by: Martin Zeithaml <[email protected]>
| build 8832 SUCCEEDED. | 
| build 8833 SUCCEEDED. | 
| Test workflow 7517 is started. | 
| Test workflow 7520 is started. | 
| # ./yaml/zowe.wrong.yaml
zowe:
  logging:
    timezone: Prague# ./yaml/zowe.local.yaml
zowe:
  logging:
    timezone: LOCAL# ./yaml/zowe.utc.yaml
zowe:
  logging:
    timezone: UTC# ./yaml/zowe.none.yaml
zowe:
  environments:
    1: 1The timestamp difference between  | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This feature should be in CHANGELOG.
| build 8841 SUCCEEDED. | 
| Test workflow 7526 is started. | 
| build 8851 SUCCEEDED. | 
| Test workflow 7535 is started. | 
This PR adds sensitivity to the "TZ" env var to "zwe", as well as points to zowe/zlux-server-framework#572 which does the same for app-server.
the property zowe.logging.timezone, when set to "LOCAL" or "local", will effect them.
There's a small bootstrapping problem to be solved in the TS code - when is "zowe.logging.timezone" readable? If its set as an env var, the TS code will use it, but it doesn't get set as an env var until some point of execution. This sets it as soon as configmgr is called, but a user could set the env var by some other means too.