I did some further testing to see what the BinaryFormatter does in the same scenario, using a break point to change my systems time zone between serialization and deserialization. Turns out it doesn't do anything to account of the change in timezone. 3:37 PM Local serialized at UTC-4 deserialized as 3:37 PM Local at UTC+5. :( Not what I like to see but maybe RSB should do the same just to be consistent? And maybe throw a Debug.Assert(value.Kind == UTC) in the serializer to warn people that using local times is a bad idea?
-- You received this message because you are subscribed to the Google Groups "Rhino Tools Dev" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rhino-tools-dev?hl=en.
