<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:ming.v.hua@qq.com" title="Ming Hua <ming.v.hua@qq.com>"> <span class="fn">Ming Hua</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - [EDITING] When I type "5-d" into cell, it is autoconverted into date 2021/07/05"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=143165">bug 143165</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>ming.v.hua@qq.com
</td>
</tr>
<tr>
<td style="text-align:right;">Ever confirmed</td>
<td>
</td>
<td>1
</td>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>UNCONFIRMED
</td>
<td>NEW
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [EDITING] When I type "5-d" into cell, it is autoconverted into date 2021/07/05"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=143165#c6">Comment # 6</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [EDITING] When I type "5-d" into cell, it is autoconverted into date 2021/07/05"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=143165">bug 143165</a>
from <span class="vcard"><a class="email" href="mailto:ming.v.hua@qq.com" title="Ming Hua <ming.v.hua@qq.com>"> <span class="fn">Ming Hua</span></a>
</span></b>
<pre>Reproduced with 7.0.6 and simplified Chinese (zh-CN) locale:
Version: 7.0.6.2 (x64)
Build ID: 144abb84a525d8e30c9dbbefa69cbbf2d8d4ae3b
CPU threads: 2; OS: Windows 10.0 Build 19041; UI render: default; VCL: win
Locale: zh-CN (zh_CN); UI: en-US
Calc: threaded
...with both the attached sample ODS file and a fresh new spreadsheet.
I agree with Mike's diagnosis in <a href="show_bug.cgi?id=143165#c5">comment #5</a>, that this is not AutoCorrection,
but instead Calc converting inputted strings as dates according to
locale-specific settings. However I also consider such conversion defective,
as the patterns for converting to dates in zh-CN locale is (Tools > Options >
Language Settings > Languages > Formats > Date acceptance patterns):
"Y/M/D;M-D;M/D;M/D;Y.M.D;Y/M/D;Y年M月D日;M月D日"
and it doesn't make sense that "5-D" would be treated as matching this pattern,
using the literal "D" in the input to match the "D" format code (and converting
it to the current month July anyway).</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>