https://github.com/tobilen/csv-tz-converter
https://github.com/tobilen/csv-tz-converter
csv hacktoberfest timezone
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/tobilen/csv-tz-converter
- Owner: tobilen
- Created: 2019-03-01T17:01:08.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-03T17:11:39.000Z (over 3 years ago)
- Last Synced: 2025-02-10T04:43:54.823Z (about 1 year ago)
- Topics: csv, hacktoberfest, timezone
- Language: JavaScript
- Homepage:
- Size: 458 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 15
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
## 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