https://github.com/samuelnygaard/ngx-timezones
An Angular module for timezones (based on moment.js)
https://github.com/samuelnygaard/ngx-timezones
angular moment moment-js momentjs picker selector timezone timezones
Last synced: about 1 month ago
JSON representation
An Angular module for timezones (based on moment.js)
- Host: GitHub
- URL: https://github.com/samuelnygaard/ngx-timezones
- Owner: samuelnygaard
- License: mit
- Created: 2018-05-25T21:17:57.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T04:52:22.000Z (over 3 years ago)
- Last Synced: 2025-02-11T08:44:48.951Z (over 1 year ago)
- Topics: angular, moment, moment-js, momentjs, picker, selector, timezone, timezones
- Language: TypeScript
- Homepage: https://samuelnygaard.github.io/ngx-timezones/
- Size: 2.86 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 32
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
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