| Summary: | CDateTime miliseconds not editable. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | jing.kerchner | ||||
| Component: | Nebula | Assignee: | Wim Jongman <wim.jongman> | ||||
| Status: | VERIFIED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | dats07, peter | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
jing.kerchner
(In reply to comment #0) > And no, we can't just > use "SS" because we do care about time in the miliseconds. Do you care enough to provide a patch? (In reply to comment #1) > (In reply to comment #0) > > > And no, we can't just > > use "SS" because we do care about time in the miliseconds. > > Do you care enough to provide a patch? Not sure exactly how to supply a fix, but the fix for this bug is to add a case statement for Calendar.MILLISECOND in org.eclipse.nebula.widgets.cdatetime.CDateTime.verify(Event). The case should have digits = 3; > > Not sure exactly how to supply a fix, but the fix for this bug is to add a case You can clone the repo on github: https://github.com/eclipse/nebula You can then attach the changed source to this bug (straight up or as a patch). I will make sure to validate and commit the changes and recognize you as the author. Created attachment 217824 [details] Fix for bug 353930 Attached is the patch for this bug. It adds a case for setting the amount of digits in a Calendar.MILLISECOND field. Thanks Doug: Fix pushed to master: http://git.eclipse.org/c/nebula/org.eclipse.nebula.git/commit/?id=ddfa5e0a81871d135f1d1757c49b2c389bb08930 Unit test pushed to master: http://git.eclipse.org/c/nebula/org.eclipse.nebula.git/commit/?id=55d2e816479ce4956fe04d45d936581c56dfadcc Doug, please verify and set to verified if it is ok or else reopen. Changes can be picked up from our update site in a few moments: http://www.eclipse.org/nebula/downloads.php Looks good. Doesn't look like I have the permissions to change the status to verified. |