xlsx-cli support dateFormat option #3005

Merged
sheetjs merged 3 commits from MarlousKottenhagen/sheetjs:master into master 2023-10-10 06:50:36 +00:00
Contributor
No description provided.
MarlousKottenhagen added 1 commit 2023-10-09 14:16:13 +00:00
Owner

Typically the option flags are hyphenated, so the flag probably should be --date-format .

Commander automatically translates hyphenated names to camel case in JS. --row-sep becomes program.rowSep

Typically the option flags are hyphenated, so the flag probably should be `--date-format` . Commander automatically translates hyphenated names to camel case in JS. `--row-sep` becomes `program.rowSep`
MarlousKottenhagen added 2 commits 2023-10-09 15:17:46 +00:00
sheetjs merged commit 53283217e9 into master 2023-10-10 06:50:36 +00:00
Owner

v1.1.4 has been published to https://cdn.sheetjs.com/xlsx-cli/xlsx-cli-1.1.4.tgz

You can install it globally with:

npm i -g https://cdn.sheetjs.com/xlsx-cli/xlsx-cli-1.1.4.tgz

Using a sample file created in Excel (attached):

% xlsx-cli --dev --all i3005.xlsx 
Sheet1
10/10/23

% xlsx-cli --dev --all --date-format yyyy-mm-dd i3005.xlsx
Sheet1
2023-10-10
v1.1.4 has been published to https://cdn.sheetjs.com/xlsx-cli/xlsx-cli-1.1.4.tgz You can install it globally with: ```bash npm i -g https://cdn.sheetjs.com/xlsx-cli/xlsx-cli-1.1.4.tgz ``` Using a sample file created in Excel (attached): ``` % xlsx-cli --dev --all i3005.xlsx Sheet1 10/10/23 % xlsx-cli --dev --all --date-format yyyy-mm-dd i3005.xlsx Sheet1 2023-10-10 ```
8.6 KiB
Sign in to join this conversation.
No description provided.