0

I am using the SmartGWT DateTimeItem component. By default, the component accepts time in the 24 hour format (ie 11:15, 15:30). I would like to know how I can configure the component to accept the time in 12 hour format (ie 11:15 am, 3:30pm)?

Technical Specs:

  • Smart GWT v3.0
  • Firefox 11
  • IE 8

1 Answers1

0
DateTimeItem.setTimeFormatter(TimeDisplayFormat.TOPADDEDTIME);

Haven't tested but it looks like what you want !

Eric C.
  • 3,310
  • 2
  • 22
  • 29