14 lines
749 B
Markdown
14 lines
749 B
Markdown
# Vendored github.com/pbnjay/grate
|
|
|
|
Upstream: github.com/pbnjay/grate v0.0.0-20231006022435-3f8e65d74a14 (MIT, see LICENSE).
|
|
Only the packages used for legacy `.xls` feed import are kept (root, `commonxl`, `xls`);
|
|
tests, `xlsx`, `simple` and `cmd` were dropped. Wired in via `replace` in `apps/api/go.mod`.
|
|
|
|
Local fixes (search for `descrybe patch`), found with real supplier workbooks:
|
|
|
|
- `commonxl/sheet.go` `Put`: text cells are no longer coerced to the column's numeric
|
|
format (a `0`-formatted `Šifra` header was read as `0`).
|
|
- `xls/sheets.go` formula `String` records: 8-bit characters decode as Latin-1 instead of
|
|
raw bytes (invalid UTF-8 for č/ž/é…).
|
|
- `xls/sheets.go` `HLink`: the cell keeps the link URL instead of `text <url>`.
|