Super Sale Limited Time 50% OFF for All-Access Plans
Save 50% Now

Inquiry About Moment.js Deprecation in Metronic


Hi,

We are currently updating our app, which is based on Metronic. In light of Moment.js being deprecated, we are trying to transition away from it. Could you please let us know if Keenthemes is actively working on addressing this issue in Metronic?

Thank you for your time and assistance.

Best regards,


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (2)


Moment.js is a popular JavaScript library for working with dates and times, but it has been officially deprecated in favor of more modern alternatives like Luxon, Day.js, or date-fns. In the context of Metronic, if you're relying on Moment.js for handling date and time functionalities, it's important to start migrating to one of these recommended libraries for better performance and future compatibility. Much like dr gina sam 7 second morning ritual that promotes health and wellness with minimal effort, transitioning away from Moment.js to newer libraries can streamline your workflow and improve the overall efficiency of your project with just a small but impactful change.



Hi,

Sorry for the late reply. To upgrade moment.js you can edit package.json and use "moment": "^2.30.1" latest moment package for your project. Then just run "npm install" or "yarn" and rebuild your assets with gulp or webapck.

Regards,
Sean


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(