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

[bugfix] Added HTML5_FMT to moment.d.ts #4495

Merged
merged 2 commits into from Apr 4, 2018
Merged

Conversation

Calidus
Copy link
Contributor

@Calidus Calidus commented Mar 12, 2018

Resolved issue #4494

@Calidus Calidus changed the title Added HTML5_FMT to moment.d.ts [bugfix]Added HTML5_FMT to moment.d.ts Mar 12, 2018
@Calidus Calidus changed the title [bugfix]Added HTML5_FMT to moment.d.ts [bugfix] Added HTML5_FMT to moment.d.ts Mar 13, 2018
@ragingdave
Copy link

Any update on this? Running into the same issue

moment.d.ts Outdated
@@ -716,6 +716,19 @@ declare namespace moment {

export var defaultFormat: string;
export var defaultFormatUtc: string;

export var HTML5_FMT: {
DATETIME_LOCAL:string,

Choose a reason for hiding this comment

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

I would guess that the styling here would need to be updated prior to it being approved for merging so that like the code above it, there should be a space after the colon and the type.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh good call. I have updated it.

@marwahaha
Copy link
Member

Thanks for this! The build errors will be fixed by #4525 .

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

Successfully merging this pull request may close these issues.

None yet

3 participants