- 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 - Customization
MomentJS allows to add customization to the locale created. This chapter discusses them in detail.
The following pst shows the customizations possible on locapzation −
Sr.No. | Locapzation & Description |
---|---|
1 | You can add month names to the locale customization. |
2 | This method helps in customizing the month abbreviations. |
3 | This method helps in customizing the weekdays names as per locale. |
4 | This method helps in customizing the weekday abbreviations based on the locale set. |
5 | This method helps in customizing the Minimal Weekday abbreviations based on the locale set. |
6 | This method helps in customizing longdateformat for a locale. |
7 | This method helps in obtaining the relative time. |
8 | This method helps in customizing the meridiem as per locale. |
9 | You can parse AM/PM using this method. |
10 | This helps in customizing calendar object for a locale set. |
11 | The ordinal display for dates can be changed based on locale. |
12 | This is used with duration.humanize where the length of duration is displayed as a few seconds ago, in a minute, an hour ago etc. |