Skip to content

Separate input format from output format#225

Open
beachmachine wants to merge 1 commit into
indrimuska:masterfrom
beachmachine:parseFormat
Open

Separate input format from output format#225
beachmachine wants to merge 1 commit into
indrimuska:masterfrom
beachmachine:parseFormat

Conversation

@beachmachine
Copy link
Copy Markdown
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
Copy Markdown

@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.

Comment thread src/provider.ts
showHeader?: boolean;
leftArrow?: string;
rightArrow?: string;
Copy link
Copy Markdown

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.

2 participants