Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
910
Possible Bug - 1/1/2008 12:00AM is always displaying as 1/1/2008 12:00PM in XamDateTimeEditor
posted

I have a basic XamDateTimeEditor defined in xaml bound to a property on the DataContext.

 <igEditors:XamDateTimeEditor MinWidth="125"
                                             Margin="5,5,5,5"
                                             x:Name="StartDateTimeEditor"
                                             
                                             Mask="mm/dd/yyyy {time}"
                                             
                                             >
                <igEditors:XamDateTimeEditor.Text>
                    <Binding Path="StartDate" >
                    </Binding>
                </igEditors:XamDateTimeEditor.Text>

            </igEditors:XamDateTimeEditor>

 For what ever reason, the TIME that is displayed is always PM when it suppose to be AM.

 DateTime startDate = new DateTime(2008, 1, 1, 0, 0, 0);

 Is this a know bug ?  Or am I doing something wrong  ?

 Thanks

Allen