grpcui icon indicating copy to clipboard operation
grpcui copied to clipboard

Show timestamps in local time instead of UTC and/or provide option to set time zone

Open AirEM opened this issue 5 years ago • 1 comments

My response comes with google.protobuf.Timestamp which I fill in with seconds and nanoseconds. When displayed in grpcui, I get 3 hours less time. This problem seems to be timezone related, is there a way to set the timezone or some other way to solve my problem?

AirEM avatar Oct 30 '20 15:10 AirEM

@AirEM, the response currently always shows timestamps in UTC (in fact, you should see a trailing "Z", indicating the the time zone shown is UTC). So you are probably right that the issue is time-zone related: if you were expecting to see a local time, it would likely be off, based on what time zone you were expecting.

jhump avatar Oct 30 '20 16:10 jhump