ONLYOFFICE / ONLYOFFICE/DocumentServer
Spreadsheet: number format changes unintended
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 6.9k
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 30d
Description
This issue is unique.
- I have used the search tool and did not find an issue describing my bug.
Operating System of DocumentServer
Docker
Version information
8.2.1.38
Expected Behavior
Number format of a cell sticks to definition
Actual Behavior
Number format of a cell changes unintentionally to date
Reproduction Steps
Example 1
- In spreadsheet app
- Select a cell
- Set Number Format to fraction
- Enter data '.5' -> '1/2'
- Enter data '1/2' -> '1-Feb' / Number Format now date
- Enter data '.5' -> '0-Jan' / Number Format still date
Example 2
- In profile change language to Deutsch (Deutschland)
- In the spreadsheet app:
- Set Number format to Number (Zahlenformat: Zahl)
- Enter data '0,5' -> '0,50' / formatted as number
- Enter data '0.5' -> '0,5' / formatted as text
- Enter data '1.5' -> '1-Mai' / formatted as date
- Enter data '0.5' -> '1-Jan' / formatted as date
Additional information
Operating System of DocumentServer unknown, entry forced by mandatory field
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running the spreadsheet reproduction steps in the issue, including the German locale case, and compare the selected number format with the displayed result after each input. Done means fraction and number formats remain selected, and inputs such as 1/2, 0.5, and 1.5 are not unintentionally converted to dates or text.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker
- Domain
- frontend, internationalization
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 32/100