# ngx-timezones

> An Angular module for timezones (based on moment.js)

Latest version **1.0.6** (published 2020-09-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install ngx-timezones
pnpm add ngx-timezones
yarn add ngx-timezones
bun add ngx-timezones
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.6 |
| Published | 2020-09-15 |
| First published | 2020-09-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 394.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Samuel Nygaard |
| Maintainers | samuelnygaard |
| Keywords | angular, angular 4, angular 5, ng2, timezone, timezones, selector, picker, moment, moment-js, moment-timezone, timezone selector |

## Links

- npm: https://www.npmjs.com/package/ngx-timezones
- Repository: https://github.com/samuelnygaard/ngx-timezones
- Homepage: https://samuelnygaard.github.io/ngx-timezones/
- Issues: https://github.com/samuelnygaard/ngx-timezones/issues
- npm.io page: https://npm.io/package/ngx-timezones

## Dependencies (1)

- [tslib](https://npm.io/package/tslib.md) ^2.0.0

## Alternatives

- [@js-joda/timezone](https://npm.io/package/@js-joda/timezone.md) — 383.4K weekly downloads
- [chartjs-adapter-moment](https://npm.io/package/chartjs-adapter-moment.md) — 210.8K weekly downloads
- [strftime](https://npm.io/package/strftime.md) — 171.2K weekly downloads
- [vue-flatpickr-component](https://npm.io/package/vue-flatpickr-component.md) — 115.8K weekly downloads
- [timepicker](https://npm.io/package/timepicker.md) — 51.0K weekly downloads

## Recent versions

- 1.0.6 (latest) — 2020-09-15
- 1.0.5 — 2020-09-15
- 1.0.4 — 2020-09-15
- 1.0.3 — 2020-09-14
- 1.0.2 — 2020-09-14
- 1.0.1 — 2020-09-14
- 1.0.0 — 2020-09-14

## README

# ngx-timezones

An Angular module for timezones (based on moment.js)

## Demonstration

Go to this website to try out the library:
[https://samuelnygaard.github.io/ngx-timezones/](https://samuelnygaard.github.io/ngx-timezones/)

## Installation

Install the library in your Angular projects root folder:

```bash
npm i ngx-timezones
```

## Importing

Import the `NgxTimezonesModule` in the your `app.module.ts`:

```typescript
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';

import { AppComponent } from './app.component';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
// Import the module
import { NgxTimezonesModule } from 'ngx-timezones';

@NgModule({
  declarations: [AppComponent],
  imports: [
    BrowserModule,
    // Include the module in the import section
    NgxTimezonesModule,
    BrowserAnimationsModule,
  ],
  providers: [],
  bootstrap: [AppComponent],
})
export class AppModule {}
```

## Documentation

TODO

---
_Source: https://npm.io/package/ngx-timezones · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
