microsoft / typespec

https://typespec.io/
MIT License
3.89k stars 175 forks source link

[protobuf] support utcDateTime and offsetDateTime #1882

Open bterlson opened 1 year ago

bterlson commented 1 year ago

utcDateTime could probably be the well-known timestamp type by default. offsetDateTime is probably an RFC3339 string by default.

witemple-msft commented 1 year ago

It used to support zonedDateTime but that was lost somewhere along the way, so I think this is sensible.