|Title:||Please set DateTime.Kind property when reading values|
|Last Modified:||2011-12-21 09:31:15|
|Version Found In:||184.108.40.206|
Using DateTimeFormat=Default on the connection string, DateTime values of UTC kind will be stored with 'Z' appended to properly mark it as UTC. Reading this value will however convert it according to current local timezone, not entire expected since we stored it as UTC. The DateTime.Kind property on the value is NOT set, causing the default value 'Unspecified' to be present.
As an example, '2011-12-15 09:48:53.4628806Z' will be read as '2011-12-15 10:48:53' for me (local timezone: +1) with property Kind=Unspecified. What I would like to see is Kind=Local, or Kind=UTC for that matter in case no time zone conversion was made.
mistachkin added on 2011-12-18 21:42:39 UTC:
anonymous added on 2011-12-19 09:40:11 UTC:
mistachkin added on 2011-12-19 20:00:28 UTC:
mistachkin added on 2011-12-20 00:09:42 UTC:
mistachkin added on 2011-12-20 04:39:35 UTC:
anonymous added on 2011-12-21 09:31:15 UTC: