Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » Wrong time in CDateTime
Wrong time in CDateTime [message #60320] Wed, 05 November 2008 14:06
Eclipse UserFriend
Originally posted by:


I don't know if this is a known issue, because I couldn't find a similar
bug in the tracker. I am using the widget in the standard usecase -
initialize the widget, set pattern, load a proper Date object. The code
looks like this:

widget = new CDateTime(composite, CDT.BORDER | CDT.DROP_DOWN
widget.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));
widget.setPattern("MM.dd.yyyy h:mm a");

Let's say the newDate is 25.12.2008 17:45. After loading the widget, the
text fields is set to 25.12.2008 14:58 (correct date, but with the
current time). I tried to debug the CDateTime itself and it does appear
to be a bug of some kind:

===CDateTime:366 ===

In this case the calendar has already acquired the correct date and
time, but reloading them from the picker fails (correct date, wrong time).

I am using nebula_cdatetime_0.9.0 on MacOS (Leopard) running Ganymede.
Any comments/suggestions will be appreciated :)

Previous Topic:CDateTime - Unwanted popup size change
Next Topic:Wrong time in CDateTime
Goto Forum:

Current Time: Thu Jun 21 21:55:02 GMT 2018

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

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

Back to the top