CLI arg/flag for choosing date format used on CSV input file #12

Closed
opened 2025-07-08 08:35:30 -04:00 by AtHeartEngineer · 0 comments

Originally created by @scoobybejesus on 10/5/2019

The CSV input file txDate field can currently only be of the form MM/dd/YY or MM/dd/YYYY. It would be nice to choose:

  • Separator: / vs. -
  • Order: YYYY/MM/dd vs. MM/dd/YYYY (and maybe vs. dd/MM/YYYY)

With those chosen (order and separator), it appears easy enough (and has already been implemented in at least a couple places in the code) to automatically handle both YYYY and YY.

Another consideration in resolving this issue is whether to use top-level args or to nest them, the latter probably being more desirable.

*Originally created by @scoobybejesus on 10/5/2019* The CSV input file `txDate` field can currently only be of the form `MM/dd/YY` or `MM/dd/YYYY`. It would be nice to choose: * Separator: `/` vs. `-` * Order: `YYYY/MM/dd` vs. `MM/dd/YYYY` (and maybe vs. `dd/MM/YYYY`) With those chosen (order and separator), it appears easy enough (and has already been implemented in at least a couple places in the code) to automatically handle both `YYYY` and `YY`. Another consideration in resolving this issue is whether to use top-level args or to nest them, the latter probably being more desirable.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/cryptools#12