benkeen/generatedata

Expand on options for CLI for Date DT from and to formats

benkeen opened this issue · 1 comments

Yuck. For the CLI usage of the Date Data Type you have to provide the fromData and toDate in numeric format: a seconds timestamp value. This should be improved to allow more human-readable formats, like MM/DD/YYYY. Perhaps even provide an option to provide your own descriptor of the format.

export type GenerationOptionsType = {
	fromDate: number;
	toDate: number;
	format: string;
};

This also applies to the Time Data Type.