To reproduce:
- Open the attached project.
- Click the day part and press N
- Click the hour part and press N - PM is changed to AM
Workaround:
public RadForm1()
{
InitializeComponent();
radDateTimePicker1.Format = DateTimePickerFormat.Custom;
radDateTimePicker1.CustomFormat = @"yyyy/MM/dd hh:mm:ss tt";
radDateTimePicker1.DateTimePickerElement.TextBoxElement.TextBoxItem.KeyPress += TextBoxItem_KeyPress;
}
private void TextBoxItem_KeyPress(object sender, KeyPressEventArgs e)
{
if (e.KeyChar == 'n')
{
e.Handled = true;
radDateTimePicker1.Value = DateTime.Now;
}
}