Per the W3C XML 1.0 Schema, the Date and Time primitive data types are distinct from the DateTime type. Date representations shouldn't include the time, and Time shouldn't include the date.
i.e. correct representations should be: <MyTime>16:09:51.19</MyTime> <MyDate>2011-08-03</MyDate> <MyDateTime>2011-08-03T16:09:51.19</MyDateTime> However, I am finding with MonoTouch that that ALL date/time types are serialized as DateTime as follows: <MyTime>2011-08-03T16:09:51.19</MyTime> <MyDate>2011-08-03T00:00:00</MyDate> <MyDateTime>2011-08-03T16:09:51.19</MyDateTime> This is causing me problems. The data (using identical code) serializes correctly in Windows, but not in MonoTouch. Is it a bug or am I doing something wrong? -- View this message in context: http://monotouch.2284126.n4.nabble.com/XML-Date-Time-types-are-all-serialized-as-DateTime-tp3714068p3714068.html Sent from the MonoTouch mailing list archive at Nabble.com. _______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
