pizheng/protobuf-net

DateTime Kind changing during serialization/deserialization round trip

Opened this issue · 0 comments

Please include an e-mail address if this might need a dialogue!
==============

What steps will reproduce the problem?
1. Serialize a DateTime that has Kind=Utc
2. Deserialize and Kind will now be be Unspecified

What is the expected output? What do you see instead?

The value of the Kind field should be preserved.

What version of the product are you using? On what operating system?

1.0.0.282 (bundled with Lokad-CQRS)
Windows

Please provide any additional information below.


Original issue reported on code.google.com by crai...@gmail.com on 3 Dec 2010 at 3:17