Format date in protobuf output