csv-tz-converter

1.1.1 • Public • Published

CSV Transformer

Quickstart:

  • Install node (version 10 or higher)
  • Run npm install -g csv-tz-converter
  • Then run the script on your input csv file convert-timezone -f myInput.csv -i "Eastern Time" -t myOutput.csv

Arguments

-f (or --file)

Specifiy the path to the input file

-d (or --input-date-format)

Specify the format of the dates in the incoming file. Defaults to MM/dd/yyyy. Allowed values can be found here: https://date-fns.org/v2.0.1/docs/parse

-i (or --input-timezone)

Specify the Timezone the provided file was created in. Accepts IANA compatible timezone names. See https://gist.github.com/aviflax/a4093965be1cd008f172 for a full list

-t (or --target)

Specify the path of the output file

Current Limitations

  • Only semicolon as separator

Readme

Keywords

none

Package Sidebar

Install

npm i csv-tz-converter

Weekly Downloads

1

Version

1.1.1

License

MIT

Unpacked Size

20.1 kB

Total Files

18

Last publish

Collaborators

  • tobilen