<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - FORMATTING Style not correctly applied at conditional formatting"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=122907">122907</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>FORMATTING Style not correctly applied at conditional formatting
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>5.1.2.2 release
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Calc
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>Stefan_Lange_KA@T-Online.de
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=148570" name="attach_148570" title="Test document to demonstrate the bug">attachment 148570</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=148570&action=edit" title="Test document to demonstrate the bug">[details]</a></span>
Test document to demonstrate the bug
Styles with at least date formatting are not correctly resp. completely applied
at conditional formatting:
- font, alignment and background color are applied
- date format is not applied
To demonstrate the bug I have attached the document
"Test_bedingte_Formatierung_Format_Datum.ods".
In the cells of column A I have entered two date values (01.01.1958 and
02.01.1958) and one text ("kein Datum").
For the cells is defined a conditional formatting with 3 conditions:
1. When day and month both are 1, only the year should be dislayed (style
defined: Datum_jjjj).
2. When day and month not both are 1, the date should be dislayed as dd.mm.yyyy
(style defined: Datum_tt-mm-jjjj).
3. When an error occurs also style Datum_tt-mm-jjjj should be applied.
Expected result (as shown in column C - styles appled without conditional
formatting):
- The date 01.01.1958 should be displayed as 1958.
- The date 02.01.1958 should be displayed as 02.01.1958.
- The text "kein Datum" should be displayed as "kein Datum".
Actual results with LO from 3.3 until 5.1.1.3: as expected -> OK
Actual results with LO from 5.1.2.2 until 6.2.0 rc2, LOdev 6.2.1 and 6.3.0
alphy: the date format from style is ignored and both dates are dsplayed in a
default format, e.g. dd.mm.yy.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>