grpc/grpc-dotnet

Date and times - time zones

rizi opened this issue · 1 comments

rizi commented

Hi,
I'm wondering how time zones can be handled with grpc.net, the documentation states the DateTimeOffset can be used but the offset will always be 0, how does this make sense?

And it seems that regarding grpc.net DateTime and DateTimeOffset can be used interchangeably, am I right?

Do I have to create my own protobuf message to handle the offset correctly?

br

Yes, Timestamp is UTC. You'll need to store timezone somewhere else.