Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Can DateTime widget display hours in 24-hour format?
Can DateTime widget display hours in 24-hour format? [message #728289] Thu, 22 September 2011 22:16 Go to next message
Herb Miller is currently offline Herb Miller
Messages: 21
Registered: September 2011
Junior Member
I need a DateTime widget to display the hours in a 24-hour format (e.g. 7:00 p.m. = 19:00). Is that possible?

Thanks,
Herb Miller
Re: Can DateTime widget display hours in 24-hour format? [message #728524 is a reply to message #728289] Fri, 23 September 2011 12:15 Go to previous messageGo to next message
Lakshmi Shanmugam
Messages: 274
Registered: July 2009
Location: India
Senior Member
Hi,
The DateTime widget automatically displays the time in the 24-hour or 12-hour format based on your system's settings.


Lakshmi P Shanmugam
Re: Can DateTime widget display hours in 24-hour format? [message #731384 is a reply to message #728524] Fri, 30 September 2011 19:38 Go to previous messageGo to next message
Herb Miller is currently offline Herb Miller
Messages: 21
Registered: September 2011
Junior Member
So, if my system settings are 12 hour format, the DateTime widget will not display the 24 hour format. Doesn't that seem a little restrictive?

Thanks,
Herb MIller

Re: Can DateTime widget display hours in 24-hour format? [message #731894 is a reply to message #731384] Mon, 03 October 2011 12:27 Go to previous message
Lakshmi Shanmugam
Messages: 274
Registered: July 2009
Location: India
Senior Member
I did a quick search and found a related bug asking for 24hrs format in DateTime widget --> https://bugs.eclipse.org/bugs/show_bug.cgi?id=337468.
The current behavior is to use the format and locale from the system. You could comment on the bug with your requirements/questions.


Lakshmi P Shanmugam
Previous Topic:Change SWT List selection color
Next Topic:dragging a TreeColumn
Goto Forum:
  


Current Time: Fri Oct 31 17:19:54 GMT 2014

Powered by FUDForum. Page generated in 0.12049 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software