Bug 14346 - When saving the date time to DataTable does not switch the DateTime to UTC
Summary: When saving the date time to DataTable does not switch the DateTime to UTC
Status: NEW
Alias: None
Product: Class Libraries
Classification: Mono
Component: System.Data (show other bugs)
Version: unspecified
Hardware: PC Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2013-08-30 09:24 UTC by Prashant Cholachagudda
Modified: 2013-08-30 09:25 UTC (History)
1 user (show)

See Also:
Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
Test case (6.96 KB, application/zip)
2013-08-30 09:24 UTC, Prashant Cholachagudda
Details

Description Prashant Cholachagudda 2013-08-30 09:24:47 UTC
Created attachment 4763 [details]
Test case

When we have DataColumn of type set to DataTime and DateTimeMode set to DataSetDateTime.Utc inserting a 
DateTime instance with DateTimeKind.Local, the DataTable does not persist it as UTC like .Net does

Note You need to log in before you can comment on or make changes to this bug.