diff options
author | Baodong <wwwicbd@gmail.com> | 2021-07-01 05:53:41 +0300 |
---|---|---|
committer | Baodong <wwwicbd@gmail.com> | 2021-07-01 05:53:41 +0300 |
commit | 567586cef0b8ea28c30052110919ac59ecb0e065 (patch) | |
tree | b9b393db8d56ebef79b0b7206df7762ab922f0c4 /proto/shared.proto | |
parent | 152db141420ac08ff6dd322c3fe9b8ccb83c48ab (diff) |
proto: Add timezone to User(proto/shared.proto)
Git operations on the Web GUI are always set to UTC timezone. By adding timezone to User, the operations are set to the correct user time zone.
More Details See: gitlab-org/gitaly!3586
After completing this modification, we need to release a new version of Gitaly Gem.
Related GitLab MR: gitlab-org/gitlab!64084
Diffstat (limited to 'proto/shared.proto')
-rw-r--r-- | proto/shared.proto | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/proto/shared.proto b/proto/shared.proto index 4d357a3fe..dd69882fc 100644 --- a/proto/shared.proto +++ b/proto/shared.proto @@ -117,6 +117,9 @@ message User { bytes name = 2; bytes email = 3; string gl_username = 4; + // Timezone is the timezone as configured by the user in the web interface. This + // timezone may be used when new commits are created via RPC calls. + string timezone = 5; } message ObjectPool { |