---
title: Customize
---


Moment.js is very easy to customize. In general, you should create a locale setting with your customizations.

```javascript
moment.locale('en-my-settings', {
    // customizations.
});
```

However, you can also overwrite an existing locale that has been loaded as well.

```javascript
moment.locale('en', {
    // customizations
});
```

Any settings that are not defined are inherited from the default english settings.

---
title: Customize
---


Moment.js is very easy to customize. In general, you should create a locale setting with your customizations.

```javascript
moment.locale('en-my-settings', {
    // customizations.
});
```

However, you can also overwrite an existing locale that has been loaded as well.

```javascript
moment.locale('en', {
    // customizations
});
```

Any settings that are not defined are inherited from the default english settings.

You can also delete (unregister) a previously defined locale by passing `null` instead of customization object.
Deleted locale obviously won't be available to use after that operation:

```javascript
moment.locale('fr'); // 'fr'
moment.locale('en'); // 'en'
moment.locale('fr', null);
moment.locale('fr'); // 'en'
```

Add information about unregistrering locales.
Add information about unregistrering locales.