Skip to content

Conversation

@rdbatch
Copy link

@rdbatch rdbatch commented Oct 14, 2015

Moment deprecated calling moment() without formatting information, and the defaultDate setup was calling getMoment() without ever having fired initFormatting(). This threw an ugly deprecation warning in the console from Moment.

An example can be seen at this jsFiddle: https://jsfiddle.net/gcnzb1vj/

This fix will trigger initFormatting() before trying to call getMoment() as part of the default date setup.

Moment deprecated calling moment() without formatting information, and the
defaultDate setup was calling getMoment() without ever having fired initFormatting(). This threw an ugly deprecation warning in
the console from Moment.
@ssareli
Copy link

ssareli commented Dec 22, 2016

Can we get this merged?

@dmitryt
Copy link

dmitryt commented Nov 20, 2017

Any update about this issue?

@Eonasdan Eonasdan closed this Nov 11, 2020
@Eonasdan Eonasdan deleted the branch Eonasdan:development November 11, 2020 20:43
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.

4 participants