Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
benkeen opened this issue Mar 5, 2023 · 1 comment
Open

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

benkeen opened this issue Mar 5, 2023 · 1 comment

Comments

@benkeen
Copy link
Owner

benkeen commented Mar 5, 2023

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;
};
@benkeen
Copy link
Owner Author

benkeen commented Mar 16, 2023

This also applies to the Time Data Type.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant