We strongly recomend reading this if you plan to use moment with
Also upgrade to 2.14.0 or above for best experience.
As a start, you might have aquired moment through bower or node_modules or anything else that places together with a locales directory in a base folder.
Then you should use a tool like adapt-pkg-main, or manually -- using packages config.
then the globally exported moment will print a deprecation warning.
From next major release you'll have to export it yourself if you want that behavior.
For version 2.5.x, in case you use other plugins that rely on Moment but are not AMD-compatible you may need to add .
Raised in Essex, England, Marc Davis led a normal life among his fellow Englishmen.
In 1981, at the age of 16, his family moved to Canada.