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

Separate input format from output format #225

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

beachmachine
Copy link
Contributor

Some users may not use the date selector widget but rather enter the date via keyboard. Usually the format such users choose is not the same as the output format. Thus I implemented a parseFormat option, where you can specify a format, or a list of formats, used to parse the user input to an moment object.

Copy link

@anx-ckreuzberger anx-ckreuzberger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good commit.

@@ -17,21 +18,21 @@ export interface IProviderOptions {
showHeader?: boolean;
leftArrow?: string;
rightArrow?: string;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your IDE is removing spaces on "empty" lines. If the whole project has those spaces, we probably should keep those spaces.

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

Successfully merging this pull request may close these issues.

None yet

2 participants