- MomentJS - Examples
- MomentJS - Plugins
- MomentJS - Utilities
- MomentJS - Durations
- MomentJS - Customization
- MomentJS - Internationalization
- MomentJS - Date Queries
- Formatting Date And Time
- Manipulate Date And Time
- MomentJS - Getter/Setter
- MomentJS - Date Validation
- MomentJS - Parsing Date And Time
- MomentJS - Introduction
- MomentJS - Environment Setup
- MomentJS - Overview
- MomentJS - Home
MomentJS Useful Resources
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
MomentJS - Internationapzation
Internationapzation is one of the important features in MomentJS. You can display Date and Time based on locapzation, in other words, based on the country/region. The locale can be appped to specific moment if required.
This chapter discusses in detail about how to make apply locale globally, locally, work with locale using Node.js, in browser, get the units (months, weekdays etc.) in the required locale etc.
Sr.No. | Locale & Description |
---|---|
1 | We can assign locale globally and all the date /time details will be available in the locale assigned. |
2 | We need locale to appped locally in case we need to handle many locales in an apppcation. |
3 | We can start working with locale by including the locale file in script tag. |
4 | If you happen to use Node.js , you will have the locale files already in moment when you do npm install moment. |
5 | You can set the locale and check the details pke months, weekdays etc. |
6 | We can check the current locale using moment.locale(). |
7 | Here will see the methods and properties available on currently loaded locale. |