anerjan / protobuf-net

Automatically exported from code.google.com/p/protobuf-net
Other
0 stars 0 forks source link

Serializing DateTime Kind:Utc #335

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
miguelmerayo@hotmail.com
==============

What steps will reproduce the problem?
1. Serialize an object with a member datetime taken from Datetime.UtcNow
2. Deserialize it
3. the datetime's property Kind is 'unspecified'

What is the expected output? What do you see instead?
the datetime property kind shoud be 'Utc'

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

Please provide any additional information below.

Original issue reported on code.google.com by mmerayo30@gmail.com on 24 Oct 2012 at 4:30

GoogleCodeExporter commented 8 years ago
i.e. "2013-01-12T15:05:38.7764031Z" is deserialized as 
"2013-01-12T15:05:38.7764031"

Original comment by mmerayo30@gmail.com on 12 Jan 2013 at 3:06