xlsx: built-in date format 14 should use the locale short date
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 74/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 領域
- localization
調査の方向性
Start in src/odr/internal/ooxml/spreadsheet/ooxml_spreadsheet_style.cpp at the table mapping built-in numFmtId values, where 14 currently becomes mm-dd-yy; then trace how the document locale (or system regional settings) reaches the renderer, since ECMA-376 Part 1 §18.8.30 makes formats 14-17 and 22 locale-dependent. Reproduce with an xlsx cell carrying numFmtId="14" and value 41640, and confirm done when en-US renders 1/1/2014 and the v7.4.0→v7.5.0 reference-output check passes.
索引モデルが issue の本文から書いたものです。
説明
An xlsx cell with the built-in number format 14 shows its date as 01-01-14. Excel and LibreOffice show the short date of the locale, for example 1/1/2014 in en-US.
src/odr/internal/ooxml/spreadsheet/ooxml_spreadsheet_style.cpp maps format 14 to mm-dd-yy, the code that ECMA-376 Part 1, 18.8.30 lists. But the spec also says that formats 14 to 17 and 22 follow the regional settings of the system. So the renderer must use the short date of the document locale, not the fixed code.
Steps:
- Open an xlsx with a cell that has
numFmtId="14"and the value41640. - Render it.
Expected: 1/1/2014 (for en-US). Actual: 01-01-14.
In v7.4.0, the cell showed the raw serial 41640, so this is not a regression. The v7.4.0 → v7.5.0 reference-output check found it.
🤖 Generated with Claude Code
- 主要言語
- C++
- スター
- 41
- フォーク
- 10
- 平均マージ
- 12時間 4分
- マージ済み PR(30日)
- 297
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
opendocument-app/OpenDocument.core のほかの issue
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
opendocument-app/OpenDocument.core#1211 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 42/100
opendocument-app/OpenDocument.core#1210 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
opendocument-app/OpenDocument.core#1209 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 38/100
opendocument-app/OpenDocument.core#1208 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
opendocument-app/OpenDocument.core#1207 ·
メンテナーはふだん 1 日以内に返信
opendocument-app/OpenDocument.core の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
content good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
cpinitiative/usaco-guide#6699 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
codepointerapp/codepointer#231 ·
-
enhancement source/qq
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
metasequoiaime/msime-windows#1054 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
amnezia-vpn/amnezia-client#3297 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信