mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
93a2d26182
Summary: Adds a new test for formatting and fix several related bugs it uncovered: 1. When editing a number with "," decimal separator, ensure it opens in the editor with "," (rather than ".", the original bug motivating this). 2. When guessing number format, set maxDecimals when it's needed (otherwise, e.g. "$1.234", or "4.5%" weren't guessed as numeric) 3. When guessing number format, ignore whitespace when deciding if guessed format is correct (otherwise percents can't be guessed in locales which add "%" with a non-breaking space before it). Test Plan: Added a test case that exercises all fixed behaviors. Reviewers: paulfitz Reviewed By: paulfitz Subscribers: paulfitz Differential Revision: https://phab.getgrist.com/D4177 |
||
---|---|---|
.. | ||
aclui | ||
components | ||
lib | ||
models | ||
ui | ||
ui2018 | ||
widgets | ||
apiconsole.ts | ||
app.css | ||
app.js | ||
billingMain.ts | ||
browserCheck.ts | ||
declarations.d.ts | ||
DefaultHooks.ts | ||
errorMain.ts | ||
exposeModulesForTests.js | ||
Hooks.ts | ||
logo.css | ||
tsconfig.json |