http://bugzilla.novell.com/show_bug.cgi?id=612499

http://bugzilla.novell.com/show_bug.cgi?id=612499#c2


--- Comment #2 from Neal Culiner <[email protected]> 2010-06-14 21:38:36 UTC 
---
Yes, sorry, I haven't figured out Bugzilla to find the cases to follow-up with
you.

The issue is/was that a UIDatePicker.Date is a NSDate data type and when you
return that value like Miguel is doing in MonoTouch.Dialog, i.e. set it to a
DateTime variable it is converted to UTC.  I don't know if this is correct as a
UIDatePicker is supposed to show device local time, so if you take code like
that below, should it be local or UTC?

DateTime dt = UIDatePicker.Date

dt ends up being UTC

What I ended up doing after finding code to convert NSDate to DateTime was
convert UIDatePicket.Date to DateTime then calling .ToLocalTime() on it.

Up to you if this bug needs attention or if you want to close it.

Thx

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to