[dba-issues] [Issue 115250] formatted control with date is 2 days off

2011-01-24 Thread fs
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=115250





--- Additional comments from f...@openoffice.org Mon Jan 24 21:04:16 + 
2011 ---
note: the control in the form is formatted with the format code 'DD-MM;N/A'.
This means that positive numbers are formatted as DD-MM, negative numbers are
formatted as N/A, and the format for 0 is not defined specifically (as the
syntax for format codes is 'positive-format;negative-format;0-format', see
the online help), thus the format for positive values is used.

Now before the fix, the date value of the first two rows was internally (and
incorrectly) treated as -2, thus it was rendered using the N/A format. After
the fix, the value is (correctly) treated as 0, which means it is rendered as
DD-MM. Consequently, it looks as if the N/A-part of the format is ignored.
It isn't, it is just specified at the wrong position.

The correct format code for the field, after the fix, is 'DD-MM;DD-MM;N/A'.
This way, 0 will be rendered as N/A, as desired.

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: issues-unsubscr...@dba.openoffice.org
For additional commands, e-mail: issues-h...@dba.openoffice.org



[dba-issues] [Issue 115250] formatted control with date is 2 days off

2011-01-24 Thread msc
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=115250


User msc changed the following:

What|Old value |New value

  Status|RESOLVED  |VERIFIED





--- Additional comments from m...@openoffice.org Tue Jan 25 07:52:39 + 
2011 ---
ok with the fomat string DD-MM;DD-MM;N/A.

verified in CWS dba34b

find more information about this CWS, like when it is available in the master
builds, in EIS, the Environment Information System:
http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Path=DEV300/dba34a

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: issues-unsubscr...@dba.openoffice.org
For additional commands, e-mail: issues-h...@dba.openoffice.org