# ng2-ert-clock

> Angular 2 component that shows a Daylight Saving Time aware clock set on the timezone provided as input.

Latest version **2.0.1** (published 2017-01-12) · ISC license · 0 weekly downloads

## Install

```sh
npm install ng2-ert-clock
pnpm add ng2-ert-clock
yarn add ng2-ert-clock
bun add ng2-ert-clock
```

## Health

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

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.1 |
| Published | 2017-01-12 |
| First published | 2016-12-11 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Euris |
| Maintainers | albertopicco, euris-redteam |
| Keywords | ng2-ert-clock, ert-clock, ert, clock, angular2, angular 2, component |

## Links

- npm: https://www.npmjs.com/package/ng2-ert-clock
- Repository: https://bitbucket.org/eurisredteam/ng2-ert-clock
- Homepage: https://bitbucket.org/eurisredteam/ng2-ert-clock#readme
- npm.io page: https://npm.io/package/ng2-ert-clock

## Dependencies (1)

- [moment-timezone](https://npm.io/package/moment-timezone.md) ~0.5.10

## Alternatives

- [update-check](https://npm.io/package/update-check.md) — 4.0M weekly downloads
- [react-native-onesignal](https://npm.io/package/react-native-onesignal.md) — 134.5K weekly downloads
- [react-redux-toastr](https://npm.io/package/react-redux-toastr.md) — 33.7K weekly downloads
- [@nocobase/plugin-notification-manager](https://npm.io/package/@nocobase/plugin-notification-manager.md) — 2.0K weekly downloads
- [react-simple-toasts](https://npm.io/package/react-simple-toasts.md) — 1.9K weekly downloads

## Recent versions

- 2.0.1 (latest) — 2017-01-12
- 2.0.0 — 2017-01-11
- 1.1.5 — 2016-12-11
- 1.1.4 — 2016-12-11
- 1.1.3 — 2016-12-11
- 1.1.2 — 2016-12-11
- 1.1.1 — 2016-12-11
- 1.1.0 — 2016-12-11

## README

# ERT-CLOCK for Angular 2

## Overview
Angular 2 component that shows a clock set on the timezone provided as component input.  
This component time is Daylight Saving Time aware.
AoT ready.


## How to use it

1. Install with <code>npm install ng2-ert-clock</code>
2. Integrate <code>node_modules/ng2-ert-clock/ert-clock.css</code> or <code>node_modules/ng2-ert-clock/src/ert-clock.scss</code> in your CSS/SCSS.
3. Optional - Import <code>node_modules/ng2-ert-clock/quadrant1.png</code> in your asset folder
4. If needed, overwrite CSS rule on <code>.ert-clock</code> in order to use fix the desired quadrant as background-image
5. Import the Angular 2 module into your module using <code>import { ErtClockModule } from 'ng2-ert-clock';</code> and put <code>ErtClockModule</code> in your module <code>imports</code>

    Example:

    <code>
    import { ErtClockModule } from 'ng2-ert-clock';

    @NgModule({
        imports: [ErtClockModule],
        ...
    </code>
6. Use the clock adding a <code>ert-clock</code> element in your template with a [valid momentJsPlace input](http://momentjs.com/timezone/ "Moment Timezone")
    
    Example:

    <ert-clock [momentJsPlace]="'America/Los_Angeles'"></ert-clock>  
    <ert-clock [momentJsPlace]="'Europe/Rome'"></ert-clock>


## Demo
Demo available: [https://bitbucket.org/eurisredteam/ng2-ert-clock-demo](https://bitbucket.org/eurisredteam/ng2-ert-clock-demo "demo repository")


## Questions?
Feel free to contact the author!

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